Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ramesh on Dec 11, 2009 00:09
open dhtmlx forum
Grid column width controlled using CSS

Hi,

Previously i was generating id's for header cells and defined width for each column using their id's in the css. With dhtmlxGrid is there any way to set the Header cell id's from my configuration XML.

1. It seems if the width is not defined in configuration XML it is throwing some script errors.
2. Even if the id's were set will that css widths override the width defined in configuration XML.

Thanks.
Answer posted by Stanislav (support) on Dec 11, 2009 01:35
>>With dhtmlxGrid is there any way to set the Header cell id's from my configuration XML.
You can define IDs of columns, but they are not true HTML IDs. Technically it will be possible to add some code which will assign them as true html IDs, but in any case you will not be able to control width of columns from css