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

Using multiple providers

1 Answer 79 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 27 Apr 2017, 09:35 PM

Hello,

I am looking to use RadSpreadsheet to import a spreadsheet template and then override/replace some of the values with database data. Is there a way to do this? I can't find anything in your documentation regarding using multiple providers with this product. Thanks for your help!

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 02 May 2017, 01:37 PM
Hi Steve,

I am afraid that the described scenario cannot be achieved with the current implementation of the control as RadSpreadsheet can work with only one data provider at a time. Optionally, you can load different providers on Page_Load, depending on the needed data (as they are not persisted).

You can also consider the implementation of a custom DataBase data provider, where you can define a template-like structure in the GetSheets() method. A sample provider implemented by us is available here:
www.telerik.com/support/code-library/spreadsheetdatabaseprovider


Regards,
Vessy
Telerik by Progress
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
Spreadsheet
Asked by
Steve
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or