Grdi Reloading updated data from xmlstring.
Am setting up some grid column property and then using following code to load a grid.
var grdTable = new AW.XML.Table;
var gridObj = new AW.UI.Grid;
grdTable.setXML(priceLimitDetailXML);
gridObj.setRowCount(grdTable.getCount());
gridObj.refresh();
After this am setting up some grid property.
gridObj.setScrollProperty('bars','both');
gridObj.autoHeight();
gridObj.raiseEvent("adjustScrollHeight");
gridObj.raiseEvent("adjustScrollBars");
gridObj.setStyle("Width","100%");
gridObj.refresh();
Now when i delete or update any row, i invoke the same steps mentioned above. Problem is that my grid row count is coming correct but some grid row column values are coming as blank. When i refresh the whole page it comes fine.
Please help me out with this issue.
var grdTable = new AW.XML.Table;
var gridObj = new AW.UI.Grid;
grdTable.setXML(priceLimitDetailXML);
gridObj.setRowCount(grdTable.getCount());
gridObj.refresh();
After this am setting up some grid property.
gridObj.setScrollProperty('bars','both');
gridObj.autoHeight();
gridObj.raiseEvent("adjustScrollHeight");
gridObj.raiseEvent("adjustScrollBars");
gridObj.setStyle("Width","100%");
gridObj.refresh();
Now when i delete or update any row, i invoke the same steps mentioned above. Problem is that my grid row count is coming correct but some grid row column values are coming as blank. When i refresh the whole page it comes fine.
Please help me out with this issue.
Sachin
June 12,