Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Jul 08, 2008 00:20
open dhtmlx forum
DHTMLX Grid : Giving custom style to the checkbox (ch type).

Hi,
I am using DHTMLX Grid and am using 'ch' as one of its column type.
Now I want to give custom style (CSS class) to that checkbox.
How can I do this ?
Answer posted by Support on Jul 08, 2008 01:59
You can access HTML element of any cell in grid as
    grid.cells(id,ind).cell
you can assign any custom style of className to necessary cell by using its HTML element

Beware that checkboxes in grid is not real inputs , but images