Dec 20, 2011, 5:09 AM
Grid Store Record.set() not update all store records when pagination enabled
Hi All,
I'm new to Ext.Net. In my application I use an Ext.Net grid panel. This panel has pagination. I update the store values based on AfterEdit event by a javascript function.
My problem is when I try to update the store by taking each record, if found that I only able to get records from the store corresponding to current page of pagination only. In other pages I get record as Undefined.
For in more detail, suppose my store contains 100 records, and I set it as 25 records per page. And now I'm looking at 1st page which contains 1-25 records.
If I'm trying to get update the store and calling each record on the store, I only able to get a record(by Store.getAt(index)) for only up to record 25. Record 26 will become undefined.
Why is this.?
Is there any way to update entire store which affects all the records in the grid including the records in all the pages.
Thanks in advance.
Thanushka
I'm new to Ext.Net. In my application I use an Ext.Net grid panel. This panel has pagination. I update the store values based on AfterEdit event by a javascript function.
My problem is when I try to update the store by taking each record, if found that I only able to get records from the store corresponding to current page of pagination only. In other pages I get record as Undefined.
For in more detail, suppose my store contains 100 records, and I set it as 25 records per page. And now I'm looking at 1st page which contains 1-25 records.
If I'm trying to get update the store and calling each record on the store, I only able to get a record(by Store.getAt(index)) for only up to record 25. Record 26 will become undefined.
Why is this.?
Is there any way to update entire store which affects all the records in the grid including the records in all the pages.
Thanks in advance.
Thanushka