Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by MUHABBAT ALI on May 03, 2009 22:19
open dhtmlx forum
Grid Loading from Another Dhtmlx grid

Hi,


Is it possible to load a grid from anther grid data.


Regards


Answer posted by dhxSupport on May 04, 2009 02:11
dhtmlxGrid supports different types of data sources:
  - xml;
  - csv;
  - json;
  - javascript array.

To load grid from another grid you should serialize first grid to the supported formats (you can serialize grid to csv or xml formats) or save changed from the first grid to the data base, create necessary file on your server side and load second grid from the generated file. 

Please see more information about loading data in grid here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Loading_data_in_grid.html#grid_art_loadingdata

To save changes from the grid in the data base you can use dhtmlxDataProcessor extention or dhtmlxConnectors. Please see more information here 

http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Dataprocesor_usage.html#grid_art_dataprocessor

http://dhtmlx.com/docs/products/dhtmlxConnector/index.shtml