setCellModel(table) before or after table.request()?
Hi All,
Most code samples available here show this:
I have discovered that, by doing so, cell that user edited previously won't get back in synch. with the data source.
I solved this issue by issuing obj.setCellModel(table) BEFORE table.request():
And it looks like working fine...
Any thoughts on possible drawback?
Thanks
Most code samples available here show this:
var table = new AW.XML.Table;
table.setURL(...);
table.request();
obj.setCellModel(table);
I have discovered that, by doing so, cell that user edited previously won't get back in synch. with the data source.
I solved this issue by issuing obj.setCellModel(table) BEFORE table.request():
var table = new AW.XML.Table;
obj.setCellModel(table); /* moved this instruction 2 lines up */
table.setURL(...);
table.request();
And it looks like working fine...
Any thoughts on possible drawback?
Thanks
Thierry Nivelet (FoxInCloud)
December 9,