I just updated the Kendo Spreadsheet components to the latest release and am now having a weird problem when data is posted back to the server, the row order changes.
I have a simple controller method that loads a file and returns data back to the client as a spreadsheet (it's doing some server-side validations but that's irrelevant to the problem).
Then client side I send the data back to the server. In the past this has worked great. Now, however, Rows 0 and 1 swap positions.
The only difference between the data coming back with the new component vs. the old is a height attribute. Aside from that everything else is the same.
Controller Method
public ActionResult LoadFile(HttpPostedFileBase file){ var workbook = Workbook.Load(file.InputStream, Path.GetExtension(file.FileName)); //workbook = KendoExcelLoader.ProcessWorkbook<MyObject>(workbook, ApplyRules); return Content(workbook.ToJson(), MimeTypes.JSON);}Client Side (this is where rows 0 and 1 swap positions):
function saveData() { kendo.ui.progress($("body"), true); var sheetData = $("#spreadsheet").data("kendoSpreadsheet").sheets()[0]; $.ajax({ type: "POST", url: "/import/SaveData", data: {records: JSON.stringify(sheetData.toJSON())}, success: function (data) { kendo.ui.progress($("body"), false); } });}