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

Spreadsheet databinding

3 Answers 227 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Darryl
Top achievements
Rank 1
Darryl asked on 10 Apr 2013, 12:56 PM
Hi Guys

I was wondering, is it possible to bind a Collection to a Spreadsheet? For eg if I had a collection ObservableCollection<string> MyCollection , I would be able to bind this a GridView like this -> radGridView1.ItemSource = MyCollection;

Is this type of binding possible with the Spreadsheet control?

Thanking you in advance!

Darryl Chetty

3 Answers, 1 is accepted

Sort by
0
Accepted
Andrew
Telerik team
answered on 15 Apr 2013, 02:11 PM
Hello Darryl,

Unfortunately, this is not possible with the current version of RadSpreadsheet. Your scenario sounds much more suitable for the RadGridView control.

At some point we may support adding data from external sources, which is a similar feature, but we have not scheduled it yet.

Regards,
Andrew
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Edward
Top achievements
Rank 1
answered on 20 May 2014, 07:29 PM
So when I get my data I have to manually set the columns and rows?
0
Petya
Telerik team
answered on 21 May 2014, 02:10 PM
Hi Edward,

RadSpreadsheet is designed to allow creation and manipulation of documents, as opposed to other controls in the Telerik UI for WPF suite like RadGridView, which are intended for data-bound scenarios. With this in mind, if you want to populate a workbook with the contents of some collection you would need to assign the values yourself.

Let us know if you have other questions.

Regards,
Petya
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Spreadsheet
Asked by
Darryl
Top achievements
Rank 1
Answers by
Andrew
Telerik team
Edward
Top achievements
Rank 1
Petya
Telerik team
Share this question
or