Posted 17 October 2019, 5:34 pm ESTHow we can change the background color based odd even rows in wijmo flexgrid.
How we can change the background color based odd even rows in wijmo flexgrid
Posted by: rajesh.sakhamuri on 17 October 2019, 5:34 pm EST
Replied 17 October 2019, 5:54 pm ESTHi Rajesh,
You may simply use the alternatingRowStep property and set its value to 1. Now, you just need to apply some CSS rules on alternate rows:
You may refer to the link below:
Replied 18 October 2019, 12:14 am ESTThank you Ashwin for giving the Reply. i have tried the above solution, even though it didn't work for me..Can you suggest any other solution.?
Marked as Answer
Replied 20 October 2019, 2:19 pm ESTHi Rajesh,
Could you please try adding the !important rule in the CSS:
background: cyan !important;
Also, please make sure that the value of alternatingRowStep is set to 1 in FlexGrid.
If this does not solve the issue, could you please provide me a sample along with the version of the wijmo you are using?
Replied 21 October 2019, 4:58 pm ESTThank you Ashwin, it's working fine as expected.