enableSmartXMLParsing and enableSmartRendering

What is the difference between enableSmartXMLParsing and enableSmartRendering?

Can they be used at the same time on a treegrid? What are the effects other than fast loading of data to grid?



Thanks in advance!


enableSmartXMLParsing is treegrid specific feature, in such mode TreeGrid parse and render only top level of elements, all other parsed on demand ( when branches opened ) . Component can automatically locate and parse necessary elements when they used in API calls, so mode can be used without any special coding. ( starting from dhtmlxTreeGrid 1.6 it is enabled by default )


Smart Rendering mode can be used in both grid and treegrid , in such mode grid renders only rows , which are included in current view, additional rows will render automatically while scrolling.


In case of treeGrid both modes can be used in same time.


>>What are the effects other than fast loading of data to grid?
The only purpose of both methods - performance improvment.
As limitation, in SRND mode rows must be manipulated by ID only ( row index is less reliable ), rowspans and grouping doesn’t work, there is some limitation in filtering against column with formating ( link, dhxCalendar etc. ) Math in TreeGrid can be used only if both SmartRendering and SmartXMLParsing disabled.