views:

12

answers:

1

When exporting a rad grid data if the user has it filtered in any way the grid should just export the filtered data not the entire dataset - Any idea how to achieve this?

Regards - Hemant

A: 

I think that if you assign the filtered set of data to the grid before calling the export method (which internally rebinds it), you will get the filtered values in the exported file.

Dick Lampard
and how to get filtered set of data from code, when filtering is done automatically not manually...?
Marko
By filtering the underlying source with appropriate WHERE clause, I suppose. You cannot rely on the grid filtering for that
Dick Lampard