Hi Telerik,
I want to load my rad grid when all items are in edit mode (in place edit). my page size is 25 records per page, and allowPaging is set to true.
in page pre_render, i do:
When a specific button clicked, or when paging the grid, i want to save the state of the rows. so I want to run over all the edited rows (which are actually all the rows in the grid) and get the values:
I find 2 problems:
1. Untill i specifically page to the last page of the grid, the pageCount property is set to the page number! meaning it is =1 when i load the grid, even though there are 3 pages to the grid!
2. EditItems property always set to 25, even after i page to page 3, which means the pageCount * page size = 75 so there are 75 edit index in the grid - 75 items in edit mode.
could you please explain why does this behavior occur?
Thanks,
Hadar
I want to load my rad grid when all items are in edit mode (in place edit). my page size is 25 records per page, and allowPaging is set to true.
in page pre_render, i do:
| for (int i = 0; i < gridChannels.PageCount * gridChannels.PageSize; i++) |
| { |
| gridChannels.EditIndexes.Add(i); |
| } |
| foreach (GridEditableItem editedItem in gridChannels.EditItems) |
| { |
| // get data.. |
| } |
I find 2 problems:
1. Untill i specifically page to the last page of the grid, the pageCount property is set to the page number! meaning it is =1 when i load the grid, even though there are 3 pages to the grid!
2. EditItems property always set to 25, even after i page to page 3, which means the pageCount * page size = 75 so there are 75 edit index in the grid - 75 items in edit mode.
could you please explain why does this behavior occur?
Thanks,
Hadar