This is a migrated thread and some comments may be shown as answers.

[Solved] Radgrid with gridclient select colunmn

3 Answers 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ayesha
Top achievements
Rank 1
Ayesha asked on 09 Nov 2009, 10:57 PM
Hi,

In my radgrid , I ve a grid client select column and also have paging turned on for radgrid with page size to 10.

Right now, if I select the header checkbox, only 10 records on first page gets selected. I sthere anyway , I can do so that if I check the header checkbox, I can have all the items across pages selcted.
For eg if I've 24 items , in first page I've 10 items, 2nd page I've 10 items and on 3rd page ,I've 4 items. Is ther any way ,if I select the header on firstpage, I can selct all 24 items.

Pls help me with code.

Thanks,
ZR

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 10 Nov 2009, 07:13 AM
Hello Zaheka,

 A solution would be to disable the grid paging temporarily, retrive all the checked rows and then enable paging back again.
You can read through the following forum discussion, where a similar scenario as yours has been discussed on:
Checkbox Select - Multiple Pages

Thanks
Princy.
0
Ayesha
Top achievements
Rank 1
answered on 30 Nov 2009, 10:53 PM
Is there any other way, I can do without turning the paging off? If so, how do I do that new approach.
0
Pavlina
Telerik team
answered on 01 Dec 2009, 11:16 AM
Hi Zaheka,

The only accessible items are the one on the current page. If you want to operate with all records from the source when the grid paging is enabled, reference directly the data from the underlying data source to process further operations over it.

Give this suggestion a try and see if it works for you.

Regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Ayesha
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Ayesha
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or