Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Anoop Isaac on Mar 25, 2008 07:16
open dhtmlx forum
Smart parsing

Can you please let me know the advantages and disadvantages of using smart parsing? what is the difference b/w ordinary parsing and smart parsing ? how does it improves performance? does smart parsing can be used to avoid pagination ?
Answer posted by Support on Mar 25, 2008 09:16
SmartXMLParsing is a technique used by dhmlxTree and dhtmlxTreeGrid to load big amount of hierarchical data.
If mode enabled, component parses only top level of hierarchy and stores all nested levels as XML - it allows to seriously improve loading time ( becase only small part of data processed )
On branch opening, component parse necessary xml chunk, and add new items|rows to component.

In case of deep hierarchy smartXMLParsing allows to load huge datasets, it is ineffective if dataset has big amount of items per level of tree|treegrid.