In old UltraWebGrid, I can read cell style like this:
var c = igtbl_getCellById(cellId); //get cell
var backcolor = c.Element.style.backgroundColor; ..get back color
What is the code for new WebDataGrid (v14.2)?
Thanks
Hi,
Thank you for posting on our forums.
The older UltraWebGrid set its styles inline which allowed you to use the logic you've mentioned. With the newer WebDataGrid control, styles are set using CSS properties. The following stackoverflow page has more details regarding how you can get a cell value with JS:http://stackoverflow.com/questions/6338217/get-a-css-value-with-javascript
Please review the attached sample which demonstrates this working with the WebDataGrid and let me know if you have any questions regarding this matter.