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

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

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marc Plaxton-Harrison
Top achievements
Rank 1
Marc Plaxton-Harrison asked on 17 Sep 2017, 11:02 AM

 

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

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 21 Sep 2017, 05:44 AM
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.
Tags
Grid
Asked by
Marc Plaxton-Harrison
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or