Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Manoj Kumar on Mar 01, 2009 20:43
open dhtmlx forum
How to remove alternate row color.

I am using our own customize skin for grids. For one grid I want no alternate row color and red selected row color without modifying skin. how can I do that by code?

Thanks
Manoj K.
Answer posted by dhxSupport on Mar 02, 2009 02:37

Via API:

mygrid.enableAlterCss("background-color: #fff","background-color: #fff");

Please see more informationa about grid's style here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Creating_custom_skin.html#grid_cust_skin