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

Retrieve Filtered Rows

4 Answers 192 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 03 Nov 2010, 02:53 AM
Hi,

We are looking to export data from the grid that a user has filtered. Is there anyway of getting the rows that are visible after the user has filtered them?


Craig

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Nov 2010, 08:00 AM
Hi Craig,

 The grid by default will respect the filtering on export. You can check our exporting demos for more info. 

Best wishes,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Craig
Top achievements
Rank 1
answered on 03 Nov 2010, 09:06 AM
Hi Vlad,

Thanks for your reply, but we are looking to export it into a PDF, along with other data. We already have a PDF generator that handles the rest of the format we need, we just need some way to get the rows that a user has filtered so we can embed it as a custom table.

We are using the filtering ability of the grid so the user can select just the rows they want in the PDF, hence why we need to see which rows are visible after the filtering.


Craig
0
Accepted
Vlad
Telerik team
answered on 03 Nov 2010, 09:22 AM
Hello Craig,

 You can use Items property to achieve your goal. This collection will respect filtering, sorting, etc. 

Sincerely yours,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Craig
Top achievements
Rank 1
answered on 03 Nov 2010, 09:53 AM
Thanks Vlad,

Items is exactly what we are looking for.


Craig
Tags
GridView
Asked by
Craig
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Craig
Top achievements
Rank 1
Share this question
or