How to Send Filtered Rows to DataTable

3 posts, 0 answers
  1. Mohsen
    Mohsen avatar
    4 posts
    Member since:
    Mar 2013

    Posted 05 Mar 2013 Link to this post

    Hello, 

    I'm Using Telerik For WinForms Q1 2013 . i've Filtered GridView with Excel Like Filtering . 

    i want send Filtered Rows to a DataTable and After that  send dataTable to StimulReport . 

    My Problem is i want send filtered rows exactly not all of rows and records , 

    is there possible ? how can i do that ?
  2. Robert LeGood
    Robert LeGood avatar
    28 posts
    Member since:
    Dec 2007

    Posted 06 Mar 2013 Link to this post

    I'm in the same boat and looking for the same thing.

    (Also looking to get a row count of the number of filtered rows, but I'm sure that solving one problem will solve both)

    Thanks!
  3. Svett
    Admin
    Svett avatar
    728 posts

    Posted 07 Mar 2013 Link to this post

    Hello guys.

    You can determine the filtered rows by accessing the
    ChildRows property of RadGridView, which contains the subset of all rows that obey your data operations (filtering, sorting and grouping). Note that if you want to get the underlying record for each GridViewRowInfo, you should access its DataBoundItem property:
    this.radGridView1.ChildRows[0].DataBoundItem

    I hope this helps.

    Greetings,
    Svett
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Back to Top