Different Hover width for column headers

Hi,
Is there any way to define a separate hover style or hover width for header row in List Grids?

Hi gkirhsna,

headerButtonProperties is a way to apply hoverStyle, hoverWidth and other hover-related properties to the buttons in the ListGrid header.

Hello,

Thank you for the reply. I tried to change the headerButtonProperties with hoverWidth and hoverAlign attributes, but it didn’t work. Can you please give me an example code where the headerButtonProperties changed to have a different effect on the grid header hovers?
Thanks again.

Hi gkrishna
Try modifying the ListGrid definition in this example as follows

isc.ListGrid.create({
    ID: "countryList",
    width:500, height:224, alternateRecordStyles:true, showAllRecords:true,
    data: countryData,
    headerButtonProperties:{
        hoverWidth:600, hoverHeight:100, hoverAlign:"center", hoverVAlign:"center"
    },
    fields:[
        {name:"countryCode", prompt:"C.C. mapped to a flag",
         title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"},
        {name:"countryName", title:"Country"},
        {name:"capital", title:"Capital", showIf:"false"},
        {name:"continent", title:"Continent"}
    ],
    canReorderFields: true
})

Thanks
Isomorphic Software

Hover width in Grid Headers

Hi,
I changed our headerButtonProperties code as you showed in the example. It worked. Thanks a lot.
Regards,
Gkrishna