Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gayathri on Jul 20, 2008 10:40
open dhtmlx forum
Using same grid in multiple tabs

Hi

I hava a requirement. I want to use the same page in multiple tabs for the user to enter multiple entries. I am using some HTML elements and a grid. When i submit the form, the HTML element across the tabs are combined as an array which i access as element[0],element[1] etc.. How do i access the grid?

 

Thanks for your help

Gayathri.

Answer posted by Support on Jul 21, 2008 02:45
This is based on how grid created , constructor return the reference to the grid object which can be used for further usage.
If you are using form integration feature
    http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Form_integration.html#grid_art_htmlform
You will not need any special steps, all instances of grid inside form will send data on submit. ( The ID of grid container will be used as part of naming, so it must differ to separate different grid )