Kendo Spredsheet

0 Answers 17 Views
Spreadsheet
brajesh
Top achievements
Rank 1
Iron
brajesh asked on 30 May 2022, 10:37 AM | edited on 30 May 2022, 10:38 AM

Hello,

1. Is it possible to send key as number in spredsheet this number show as header. When I'm sending this key it's throwing error.If you have any idea please help me.

I'm sending like this

[{"2019":5475.13,

"2022":5676376.325,

"2023":5443.2332}]  

I want to set key as header.

Martin
Telerik team
commented on 02 Jun 2022, 08:32 AM

Could you please share a Dojo example where I can better understand the scenario and see the error you are getting?
brajesh
Top achievements
Rank 1
Iron
commented on 02 Jun 2022, 09:29 AM

Thank you Martin for your reply but I have solved this error by define like this

 sheet.setDataSource(dataSource, [     
        { field: "estcm", title: "Est CM%" },
        { field: "_2019", title: "2019" },
        { field: "_2020", title: "2020" },
        { field: "_2021", title: "2021" },
        { field: "_2022", title: "2022" },]   Thank you so much Martin

No answers yet. Maybe you can help?

Tags
Spreadsheet
Asked by
brajesh
Top achievements
Rank 1
Iron
Share this question
or