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

Populate 10 worksheets of Spreadsheet control on Form_Load

3 Answers 74 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Iron
Iron
Brian asked on 17 Nov 2017, 02:43 PM

How would I create and populate 10 Worksheets with SQL queries for each one, when form loads or other event using a Spreadsheet control with Ribbon?

 

Thanks,

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 20 Nov 2017, 09:39 AM
Hello Brian,

You need to create the workbooks in code and then you will be able to display them in RadSpredsheet. RadSpreadsheet operates with a rich document model that is completely decoupled from UI. Once you create a document with RadSpreadProcessing you will be easily able to show it in RadSpredsheet.

I hope this will be useful. Let me know if you have additional questions.  

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.
0
Brian
Top achievements
Rank 1
Iron
Iron
answered on 20 Nov 2017, 02:09 PM

Hi Dimitar, thanks for responding.

Do you have a sample of RadSpreadProcessing using SQL as the source? I do not see one in the demos, nor in the documentation.

 

Thanks,

 

0
Accepted
Dimitar
Telerik team
answered on 21 Nov 2017, 07:31 AM
Hello Brian,

We do not have exact such example. However, all you need to do is iterate and set the value of the cells. The example in the following blog shows this: Getting Started with RadSpreadProcessing Volume1.

Do not hesitate to contact us if you have other questions.

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.
Tags
Spreadsheet
Asked by
Brian
Top achievements
Rank 1
Iron
Iron
Answers by
Dimitar
Telerik team
Brian
Top achievements
Rank 1
Iron
Iron
Share this question
or