Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rudy on Apr 15, 2008 08:47
open dhtmlx forum
If I do configure a grid using the xml api

Thanks for your response.

If I do configure a grid using the xml api, do I have to  configure the grid on the first call  for data only or do I have to always send back the 'grid configuration' node every time data is being exchanged. In other words, does the grid being configured by using  the xml  api remember how it is to be configured when the grid is exchanging data with the server on updates. I believe the answer is yes but I want to make sure.

Thanks for your patience
Answer posted by Support on Apr 15, 2008 09:07
In case of init configuration from XML
    - first chunk of XML must have head section with configuration

The second and other chunk of XML
    - may skip head section with configuration, in such case existing configuration will be preserved
    - may have head section with configuration, in such case existing grid will be reset and new configuration applied

>>I believe the answer is yes but I want to make sure.
Basically yes, you may init grid once, and load only data later.