7.1.8 Grid Data Bug

It adds $height: 40 to the data, seems that is the rowheight ?

https://snippet.dhtmlx.com/rlynx66z

https://snippet.dhtmlx.com/ahqoh260

this is the attribute that is used for the autoHeight mode of the grid storing the current height of the row.

But what has this to do in the data of the grid?

Completely agree, just found this issue myself. Best solution is to use “delete”.

Blockquote
grid.data.events.on(“change”, function (id, status, updatedItem)
{
gridurl = “/update”;
delete updatedItem.$height;
dhx.ajax.post(gridurl, updatedItem).then(function (data)
{
console.log(data);
}).catch(function (err)
{
console.log(err);
});
});