Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by soms on Dec 07, 2008 21:07
open dhtmlx forum
Insert buttons inside a grid column

hi
I want a button column in my grid and each cell has three buttons in that column. Can this be achieved in dhtmlx grid and if so can I separately capture their onclick events also?

Thanks and regards
soumya.
Answer posted by Support on Dec 08, 2008 01:59
You can 
a) create custom excell for such purpose
http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_excell_creation.html#grid_cexc

b) use inline html as cell value
<cell type='ro'><![CDATA[
    <input type='button' onclick='some()' value='some' />    <input type='button' onclick='some()' value='some' />    <input type='button' onclick='some()' value='some' />
]]></cell>