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

Can't get cell values

1 Answer 69 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Tautvydas
Top achievements
Rank 1
Tautvydas asked on 11 Aug 2020, 09:41 AM

Hello!

I've been having problems attempting to reach values from my RadSpreadsheet component, which have been entered directly into the spreadsheet.

Retrieving cell values works fine when using a SpreadsheetDocumentProvider or a custom provider, which populates the RadSpreadsheet with sheets, rows and cell values. But only the initially populated cells have accessable values - if any new values were to be added, they would show up as NULL when I would try to reach them.

In the image I attempt to get a cell value (and save a referenced workbook) in a button click event.

 

Telerik UI for ASP.NET AJAX 2020.2.617

 

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 11 Aug 2020, 10:10 AM

Hello Tautvydas,

The data is saved via a callback that calls the SaveWorkbook of the provider. The Sheets property is not populated unless the .DataBind() method is called. 

Also, you might find useful the following articles:

Regards,
Peter Milchev
Progress Telerik

Tags
Spreadsheet
Asked by
Tautvydas
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or