Retrieving Filtered Rows

3 posts, 1 answers
  1. Joshua
    Joshua avatar
    5 posts
    Member since:
    Jun 2018

    Posted 28 Jun 2018 Link to this post

    Hi,

    I currently export using a custom function that takes the grid as an argument and passes it to the function to create the excel,however when i filter my grid to only show a few items it still prints all of the original items in the grid which have been filtered out 

    I Know it is exporting them all to the function because obviously they still live in the grid,i was wondering there was a way i could create another grid and set it to the filtered grid with only the displayed rows or whether i can remove those rows from my grid before sending it to my function 

    I Do now want the use the export function provided by telerik as i have a very specific layout that my excel must have and this function is to be used by hundreds of Screens in the future

     

    Kind Regards

    Josh

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    2960 posts

    Posted 28 Jun 2018 Link to this post

    Hi Josh,

    In your export function, you can iterate the ChildRows collection. It will contain only the rows that are currently in the grid. 

    Let me know how this works for you.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Joshua
    Joshua avatar
    5 posts
    Member since:
    Jun 2018

    Posted 28 Jun 2018 in reply to Dimitar Link to this post

    Hi Dimitar,

    Thank you for getting back to me so quickly.

    It worked perfectly thank you so much 

Back to Top