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

Get current set of records bound to grid.

2 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sadiya Lubna
Top achievements
Rank 1
Sadiya Lubna asked on 01 Jul 2008, 11:45 PM
Hi,

I have a radGrid which has filters, alphabetical paging and numerical paging. The datasource of the grid is a generic list. I have a radChart which should display the same data currently being displayed in the grid.

How do I get the records currently bound to the radGrid ?

One way is to turn off the paging, rebind() the grid and then iterate through the radGrid Items. Is there any better way of getting the current set of records without having to rebind the grid.

Thanks.
Sadiya

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Jul 2008, 09:36 AM
Hi Sadiya,

I have found an online demo which is almost similar to your requirement. Go through it and see whether it helps.
Grid and Aggregate Chart

Thanks
Princy.
0
Sadiya Lubna
Top achievements
Rank 1
answered on 02 Jul 2008, 10:58 PM
Hi Princy,

Thanks. I have already implemented 'Grid and Aggregate Chart' for another business requirement in the project.

The current issue is more to do with filtering and paging on the grid. Say for example, if the grid in the online demo 'Grid and Aggregate Chart' had filters on all the columns and had paging as well. Then when the filters are applied, the chart should display data only for the records currently present in the grid.

Thanks,
Sadiya.
Tags
Grid
Asked by
Sadiya Lubna
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Sadiya Lubna
Top achievements
Rank 1
Share this question
or