Hi,
We have an AIR app and using a datagrid. We want to store the dataGrid.columns array in mySQL DB through PHP. This is needed because the user can customise the column headers of the datagrid and his preference needs to be stored and shown to him on his next login.
Using HTTPService, we tried sending the dataGrid.columns array as a string, as follows,
var ht:HTTPService = new HTTPService();
ht.url = Config.getServerURL();
ht.method = URLRequestMethod.POST;
ht.resultFormat = "text";
ht.request["action"] = "updateGrid";
ht.request["headercolumns"] = colsArray.toString();
The data is stord as comma separated array string in DB. When we retrieve it back, cannot seem to cast it back to the DatagridColumns and assign it.
Please let me know.
Regards
Jada.