create and write to csv/excel spreadsheet once a record is approved

2 posts, 0 answers
  1. Marc Plaxton-Harrison
    Marc Plaxton-Harrison avatar
    40 posts
    Member since:
    Mar 2008

    Posted 17 Sep 2017 Link to this post

     

    Hi there guys,

    i have this scenario where we have a lot of transactions on the grid that needs to be approved.The grid has a button bound to it for example...

    <telerik:GridButtonColumn ButtonType="LinkButton" FilterControlAltText="Filter column column" Text="Approve" UniqueName="btnApprove" CommandName="Delete">
                                  <HeaderStyle Width="50px" />
                                  </telerik:GridButtonColumn>

     

    The idea is to create and write each record to csv/excel spreadsheet per record once the approve button is clicked.

    is this possible?

    kind regards

    Marc

  2. Eyup
    Admin
    Eyup avatar
    3841 posts

    Posted 21 Sep 2017 Link to this post

    Hello Marc,

    The grid exports its entire content to a file:
    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/exporting/excel-export/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/exporting/export-word-csv/defaultcs.aspx

    I am afraid it does not provide the capability to modify an already existing Excel file and add only 1 row at a time.

    Regards,
    Eyup
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top