In my application so many datatables. I want tochange color. Like odd row one color, even row other color, and header some other color etc..
Example : odd row = yellow, even row = Blue, and header = red,
In future, If i want to change these colors, just i need to change one place...Then automatically applied all datatables.
Thanks in advance.
Please try to check this attribute in your component
rowClasses="tableOddRow, tableEvenRow" . Define those css classes in css file of your applicaiton.
Retrieving data ...