Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Atul Samnerkar on May 11, 2009 23:21
open dhtmlx forum
dhtmlxGrid / dhtmlxTreeGrid - Retrieve Checkbox values on form Submit

hi,

One wants to retrieve values of checkboxes on submitting the form for the Live Demo example on,
http://dhtmlx.com/docs/products/dhtmlxGrid/index.shtml

How to retrive values of all checked checkboxes on server side once the form is submitted? If there is any sample code can you please share?

Thanks & Regards,
Atul Samnerkar
Answer posted by dhxSupport on May 12, 2009 01:05

We have extention which can allow you integrate dhtmlxGrid with form (availible in PRO version only). You can see example here http://dhtmlx.com/docs/products/dhtmlxGrid/samples/interaction_other_components/pro_form.html. 

If your grid has checkboxes responce to the server side will looks like that:

array(2) {
  ["gridbox_4_2"]=>
  string(1) "0"
  ["gridbox_5_2"]=>
  string(1) "1"
}