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

Saving data incorrectly with sorted data

1 Answer 40 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 07 Dec 2016, 05:26 PM

I'm evaluating the spreadsheet component for possible use and I ran into an issue with saving changes to sorted data in the spreadsheet.  I'm binding a datasource into a sheet with CRUD references to the controller.  When the data is sorted and a user edits a row, on saving the update, the wrong row in the datasource is updated/sent to the controller.  Is this a known issue?  If so, do you know when this will be corrected?

Thanks.

Scott

 

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 08 Dec 2016, 11:41 AM
Hello Scott,

The observed is a limitation that is present, when the Spreadsheet is bound to a DataSource. The Sorting and Filtering functionality will work correctly after the widget has been populated with data. However, making changes on the data after performing some of the above operations would result in incorrect data update. The reason for that is the fact that the Spreadsheet internally depends on the order in which the rows are loaded to the widget and updates the item by getting its row index.

Regards,
Veselin Tsvetanov
Telerik by Progress
Telerik UI for ASP.NET MVC is ready for Visual Studio 2017 RC! Learn more.
Tags
Spreadsheet
Asked by
Scott
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or