Hi Isomorphic,
I´m using a ListGrid within a print preview using "Canvas.showPrintPreview(listGird);"
on the ListGrid I apply the following properties:
setCanExpandRecords(true);
setExpansionMode(ExpansionMode.DETAIL_FIELD);
Everything works fine and as expected. In my case, I want to give the DETAIL_FIELD a different background-color, because the default doesn`t fit for our app. But I have some issues to do so.
What I tried:
Setting "setHoverStyle("customGridHover");" on the ListGrid. This didn't work.
What I wanted to try is to set "setHoverStyle" on a ListGridField and pass it as autoChildProperties, but the method does not exist.
The style-class I want to replace on the ListGrid is "gridHover" but thats not possible, because of the reasons above. I cannot override it in the stylesheet, because it would influence all hoves in the app.
Here a little screenshot:
![Click image for larger version
Name: Unbenannt.PNG
Views: 86
Size: 25.9 KB
ID: 259289](filedata/fetch?id=259289&d=1568122510)
Can You please give some advice on how to do it, or add a setter for that on the ListGridField, so I can pass it as autoChildProperties?
Thanks in advance and
Kind Regards
I´m using a ListGrid within a print preview using "Canvas.showPrintPreview(listGird);"
on the ListGrid I apply the following properties:
setCanExpandRecords(true);
setExpansionMode(ExpansionMode.DETAIL_FIELD);
Everything works fine and as expected. In my case, I want to give the DETAIL_FIELD a different background-color, because the default doesn`t fit for our app. But I have some issues to do so.
What I tried:
Setting "setHoverStyle("customGridHover");" on the ListGrid. This didn't work.
What I wanted to try is to set "setHoverStyle" on a ListGridField and pass it as autoChildProperties, but the method does not exist.
The style-class I want to replace on the ListGrid is "gridHover" but thats not possible, because of the reasons above. I cannot override it in the stylesheet, because it would influence all hoves in the app.
Here a little screenshot:
Can You please give some advice on how to do it, or add a setter for that on the ListGridField, so I can pass it as autoChildProperties?
Thanks in advance and
Kind Regards
Comment