Hi,
Is there any possibility to alternate the css in grid for each 2 rows instead of each rows please?
I thank with enableAlterCss i could to this but not…
Thanks a lot for your help,
Loïc
Hi,
Is there any possibility to alternate the css in grid for each 2 rows instead of each rows please?
I thank with enableAlterCss i could to this but not…
Thanks a lot for your help,
Loïc
Unfortunately the enableAlterCss() is the only solution. And it works for the even/uneven rows.
You may try to add a css class/style for each your row in the xml:
<row id="12" class="css1" bgColor="red" style="color:blue;">
<cell> first column data </cell>
<cell class="css2" style="font-weight:bold;"> second column data </cell>
</row>
Hi,
Thank you very much! It works fine now.
I used mygrid.enableAlterCss("",""); and
Best regards,
Loïc