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

Kendo Spreadsheet with Complex type

1 Answer 65 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
svkrishna
Top achievements
Rank 1
svkrishna asked on 11 Dec 2017, 03:26 PM
Hi,
we have a complex type like below.
Item1
Item2
      SubItem1
      SubItem2
Item3
I need to to bind this complex to Kendo spreadsheet for jquery and need the columns like this.
Item1 subItem1 SubItem2 Items
Below is my code

 sheet.setDataSource(dataSource, [
                                                   { field: "Item1", title: "Item1" },
                                                   { field: "Item2.SubItem1", title: "SubItem1" },
                                                   { field: "Item2.SubItem3", title: "SubItem3" },
                                                  { field: "Item3", title: "Item3" }
            ]);

The above code is not working ..
Please help me.

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 13 Dec 2017, 09:33 AM
Hello Svkrishna,

I am afraid, that the Kendo Spreadsheet Sheet could not be bound to a hierarchical data. What I could suggest you instead is to review the capabilities of the TreeList Kendo widget.

Regards,
Veselin Tsvetanov
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
svkrishna
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or