I have an ejGrid bound to a json datasource.
I'm able to style the single cells with an external script that read data from the data-style attribute and append to the <td> cells
What I'm trying to achieve now is to apply a style to the whole row, but the main issue with my current approach is that I have a frozen column, therefore we have two different tables.
In particular, I'd like to apply a smaller height to the Event Categories rows.
Event Categories are the ones with bold font, and in the data-source, they have a property type=c, highlighted in bold below:
[{"EventID": "c1","type":"c", "EventName": "Weather" },
{"EventID": "1", "EventName":"Rain","jun": "Monsoon starts","sep": "Light Rains"},
{"EventID": "3", "EventName":"Flood","jul": "Not Damaging"},
{"EventID": "4", "EventName":"Winter/Summer","apr": "Peak hot /excessive hot ","dec": "Average cold wave (5-6 degrees)"},
{"EventID": "c17","type":"c", "EventName": "Human Health" },....]
Is there a way to manage row styles?
Here is the playground with data sample:
Many thanks.
Best,
Marco