Hello.
I'm developing with Kendo Grid and I have a question about styling cell of every row.
I've already read some articles to style every cell in databound event.
Can I add styling rule in JSON Data Passed to Kendo Grid?
In my case I have a datatable(vb.net) that I convert to json before pass to kengo grid.
My datatable has 3 column and 50 rows.
1° col: Name / 2° col: Surname / 3° col: Style.
Every row can have a different "Style" content. "Style" is the style that I need to apply to 1° and 2° column.
Example:
PAUL BEAN color:red;
STEVE JOBS text-align:center;
SAM SMITH background-color: green;
{"data":[{"Name": "Paul", "Surname":"Bean","Style":"color:red"}, {"Name": "Steve", "Surname":"Jobs","Style":"text-align:center"}, {"Name": "Sam", "Surname":"Smith","Style":"background-color: green;"}]}
Can you explain If is possibile styling on json "data"?
I've already use databound event and I Iterate every rows but it is very slow.
Are there any alternatives?
thanks!