Hi,
Can anyone let me know how to change the background color of a row in webdatagrid based on the condition.
Thanks in Advance.
Hi anilkoomar_1202,
handle InitializeRow event check cell's value and apply css class.
http://forums.infragistics.com/forums/p/53807/278281.aspx#278281
Hope this helps
Hi ,
Thanks for quick Reply,Is there any other way other than using the css.i.e, Directly changing the row background color like row.backgroundcolor .
Thank you for your reply.
Regarding changing a particular row style on the server - the only way to achieve that is using CSS as described in the guide linked by Hristo. Should you wish to change a particular row's background color on the client, this can be done by iterating through the row's cells and channging the elements directly using something similar to:
ig_controls.WebDataGrid1.get_rows().get_row(0).get_cell(0).get_element().style.backgroundColor = "Red"
Please feel free to contact me if you have any questions.
Please do not hesitate to contact me if you have any further questions.
Hi All,
Can anybody tell me how to change the class of a particular "td" with certain conditions in igGrid.
Thanks in Advance !!
Niranjan