Hi,
How can I change in js the css or the text color of my cell based on it's content?
The grid is populated by ClientDataSource so I can't change the color on server-side (I think)
This is my column
The DataField "GpsTxt" value can be "OK" or "ERR"
I would like to show "OK" in green and "ERR" in red
Is it possible?
Thanks
How can I change in js the css or the text color of my cell based on it's content?
The grid is populated by ClientDataSource so I can't change the color on server-side (I think)
This is my column
<telerik:GridBoundColumn UniqueName="GPS" DataField="GpsTxt" HeaderText="GPS" AllowFiltering="false" ItemStyle-HorizontalAlign="Center"> <ItemStyle Font-Bold="true" /> </telerik:GridBoundColumn>The DataField "GpsTxt" value can be "OK" or "ERR"
I would like to show "OK" in green and "ERR" in red
Is it possible?
Thanks