Grid Loading Data From XML (beforeInit and afterInit)

Hi guys,

I’ve got some questions for you ! It’s about the xml loading way. I’m already using XML to load both header and data in my DHTMLXGRID. But i want to use more XML options like beforeInit and afterInit in element “head”. Is it possible to know all the availables methods ? And if you know when the method go in before or after.

Thank you for the reply !

Sorry for my english.

Hello.

All the dhtmlxGrid methods can be used in the beforeInit/afterInit sections.
You should know that it is not available to attach events right in the xml.
About the methods:
If in case of init from the js you need to call the method before calling myGrid.init() - it should be called in the beforeInit section, otherwise - in the afterInit. You may check the required method in the samples:
dhtmlx.com/docs/products/dhtmlxG … index.html

I’ve made this XML output for the DHTMLXGrid, but it didn’t work. The grid works, but the filter row is not here.
See the capture.



Can you help me ?

Thank you in advance !

Please, try to use:


#text_filter,#text_filter,#text_filter,#text_filter

Thank you it works !