Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 08, 2008 04:55
open dhtmlx forum
Adding button column to grid

Hi,
I need to customize grid by adding button column.But i do not know how to do that.Also i want to have OnClick event for button.Please help me ASAP.

Thanks & Regards,
Pravin
Answer posted by Support on Nov 10, 2008 01:58
You can 
a) create a custom excell
http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_excell_creation.html#grid_cexc
b) use inline HTML as
<cell type="ro"><![CDATA[ <input type='button' onclick='do_some()' /> ]]></cell>