I setup a dataConnector to link a grid with my MySQL database : it is working fine.
As my code is hugly (many columns setup, etc.) I wished , as I do for the forms with loadStruct() function, to load the grid header configuration from an XML file.
I am not successfull in loading the grid structure in the XML and then, get data from the database through the data processor. It seems that both way to function are exclusive:
a) basic state : columsn are setup using Javascript, load of data from the PHP connector and setup of dataprocessor : columns and content are displayed
a) load the XML (with only the section, no row data content defined) and setup the dataprocessor: columns are displayed, but not filled in with data
b) load of XML file, load of the PHP connector and setup of dataprocessor : columns are not even displayed
Is there a way to do what I want:
load grid structure (header configuration) from an XML file
then, load and work with data using a Connector linked to my mySQL database