I have an Ext.net mvc grid, and a store has been bind to the grid. The grid is collapsed on initial load, in once scenario we will be updating the model in controller and bind model back to the store again as below
StorePlanDetails.DataSource = Model.CorePlanningRows; StorePlanDetails.DataBind();
And while save If i try to get the modified records using Store.getModifiedRecords() method, it is not fetching the updated records.
But once if i expand the grid and if i try to get Store.getModifiedRecords() it is fetching the updated records.
After debugging i found that dirty flag is not set if i do not expand the grid.
Is there a way to overcome this issue.
i'm using Extjs 4.0 and Ext.Net MVC.