Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Group title style

    Hi Isomorphic,

    please take a look at this foto. I marked 4 important parts.
    Is it possible to change background-color of this group title?

    Click image for larger version

Name:	Group title style.PNG
Views:	70
Size:	186.8 KB
ID:	256127

    Code:
        private class AtachmentLG extends ListGrid {
            public AtachmentLG() {
    
                setIsGroup(true);
                setGroupTitle("Group title");
                setGroupBorderCSS("1px solid red");
    
            }
        }
    Best regards
    Pavo
    Attached Files

    #2
    Better test case:

    SmartClient example

    Code:
    isc.HLayout.create({
        width:"100%", height:"100%", membersMargin:20, padding:"10px", isGroup:"true", groupTitle:"Group title", groupBorderCSS:"1px solid red",
        members:[
            isc.ListGrid.create({
                ID: "countryList",
                width:500, height:224, alternateRecordStyles:true, 
                fields:[
                    {name:"countryCode", title:"Code"},
                    {name:"countryName", title:"Country"},
                    {name:"independence", title:"Nationhood", type:"date", width:100},
                    {name:"population", title:"Population", type:"integer"},
                    {name:"gdp", title:"GDP", type:"float"}
                ],
                data: countryData
            })
        ]
    })
    Click image for larger version  Name:	foto_2.PNG Views:	1 Size:	155.5 KB ID:	256129
    Last edited by pavo123; 11 Dec 2018, 08:29.

    Comment


      #3
      I have found a solution, just ignore this thread. Sorry!

      Solution is groupLabelBackgroundColor.

      Comment

      Working...
      X