Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Aug 21, 2008 23:11
open dhtmlx forum
DHTMLX Grid : Hide or disable first row's radio button.

Hi,
I want to hide the radio button for the first row in the grid.
How can I achieve this ?
Answer posted by Support on Aug 22, 2008 02:03
You can change cell type for cell in question 
  <row id="some">
       <cell type="ro"></cell>  // => will be rendered as plain text, not as default column type (radio button)

The same can be done from javascript by grid.setCellExcellType
Answer posted by Tejas Shah on Sep 15, 2008 21:09
Hi,
    Using this code shows plain text which  I don't want, we want that whatever state of the radio button is (selected or unselected), it should not change its image of radio button.
    How to do this ?
Answer posted by Support on Sep 16, 2008 09:35
You can place an image of unchecked radio button into the cell. This image can be found in the codebase/imgs/ folder - "radio_chk0.gif":
<cell type="img">codebase/imgs/radio_chk0.gif</cell>