Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by arun on Mar 06, 2008 04:10
open dhtmlx forum
how put checkbox in customize grid using CSS [class"dhtmlxGrid"]

Dear sir/mam

how to put chkeck box and buttons in customize grid


ex:<table class="dhtmlxGrid" id="tbl" imgpath="images/" style="width:1200px;" lightnavigation="false" height="5px" >
        <tr>
            <td style="width:75px;">A</td>
            <td style="width:97px;">B</td>
            <td style="width:111px;">C</td>
        </tr>
</TABLE>
have to put the buttons into this table

like
<td type="button">--> for button
<td type="ch">--> for check box

pease help me as early as possible
i am wating fro ur reply

regards
arun


        


Answer posted by Support on Mar 06, 2008 06:42
a)

<table class="dhtmlxGrid" id="tbl" imgpath="images/" style="width:1200px;" lightnavigation="false" height="5px" >
        <tr>
            <td style="width:75px;">A</td>
            <td style="width:97px;">B</td>
            <td style="width:111px;">C</td>
        </tr>
       <tr>
             <td>text</td>
             <td> <input type='checkbox'> </td>
             <td> <input type='button'> </td>
       </tr>
</table>

or

b)
<table class="dhtmlxGrid" id="tbl" imgpath="images/" style="width:1200px;" lightnavigation="false" height="5px" forceCellTypes="true">
        <tr>
            <td style="width:75px;">A</td>
            <td style="width:97px;">B</td>
            <td style="width:111px;">C</td>
        </tr>
       <tr>
             <td>text</td>
             <td type="ch">0</td>
             <td> button type not supported </td>
       </tr>
</table>