Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by neha on Nov 12, 2008 22:33
open dhtmlx forum
Grid

Can I set different names to every column in a grid.
Names that would be used for submitting form data.

i.e. if there are 2 rows in a grid.. the names of the same column in different rows would differ.

Eg. row1 names = 1.firstName , 1.lastName, 1.birthDt
and row2 name = 2.firstName , 2.lastName, 2.birthDt
Answer posted by Support on Nov 13, 2008 05:00
If you mean form-integration , naming convention can't be changed ( can be done by code modification )
In case of dataprocessor, you can set column's ID through 
   grid.setColumnIds(...)
and use them instead of column indexes
  dp.enableDataNames(true);