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

Exporting a filtered Grid

3 Answers 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
nanthakumar thangavel
Top achievements
Rank 1
nanthakumar thangavel asked on 10 Jul 2010, 06:51 AM
When exporting a grid if the user has it filtered in any way the grid should just export the filtered data not the entire dataset




3 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 12 Jul 2010, 03:19 PM
Hi nanthakumar,

And so it does - attached is a small sample. Just filter the data and try exporting it to pdf, for example.

Regards,
Tsvetoslav
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
nanthakumar thangavel
Top achievements
Rank 1
answered on 13 Jul 2010, 04:57 AM
Hi 
thanks for reply.
But i use client-side bind with help of web-service that case not exporting all data or Filtered Data


This is my code

<telerik:RadGrid ID="RadGrid2" AllowSorting="true" AllowPaging="true"AllowFilteringByColumn="true"
            AutoGenerateColumns="false" runat="server">
            <MasterTableView CommandItemDisplay="Top">
                <CommandItemSettings ShowExportToCsvButton="True"
                    ShowExportToExcelButton="True" />
                <Columns>
                    <telerik:GridBoundColumn DataField="Id"HeaderText="Id" />
                    <telerik:GridBoundColumn DataField="Name"HeaderText="Name" />
                      
                </Columns>
  
<PagerStyle AlwaysVisible="True"></PagerStyle>
            </MasterTableView>
            <PagerStyle AlwaysVisible="true" />
            <ClientSettings>
                <DataBinding Location="~/mywebservice.asmx" EnableCaching="true"
                    SelectMethod="GetFacilityListCH"  />
            </ClientSettings>
        </telerik:RadGrid>

0
Tsvetoslav
Telerik team
answered on 14 Jul 2010, 09:59 AM
Hi nanthakumar,

I am afraid exporting a client-side bound grid is not a scenario supported by RadGrid.

Regards,
Tsvetoslav
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
Tags
General Discussions
Asked by
nanthakumar thangavel
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
nanthakumar thangavel
Top achievements
Rank 1
Share this question
or