How to move fields from "All Fields Area" to "Filter Area"

2 posts, 0 answers
  1. Fabiana
    Fabiana avatar
    2 posts
    Member since:
    Sep 2015

    Posted 22 Sep 2015 Link to this post

    Hi Support!

    I am evaluating RadPivotGrid, and I have one question about it: I am using RadPivotGrid1_NeedDataSource(), and the code is:

                      System.Data.DataTable mDataTable = ReturnDataTable();
                        (sender as RadPivotGrid).DataSource = mDataTable;

    And I would like to move all fields that will be show in "All Fields Area"  to "Filter Area" in server side code. Is it possible? How to do it?

     

    Thanks!

     

  2. Angel Petrov
    Admin
    Angel Petrov avatar
    1007 posts

    Posted 25 Sep 2015 Link to this post

    Hi,

    In order to display a field in the filter fields section one should add it as a PivotGridReportFilterField. That said you can create the grid programmatically as explained here and define the PivotGridReportFilterFieldс. Have in mind that when following this approach you may need to per-request the pivot data source.

    Regards,
    Angel Petrov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top