i have a problem with find my new row in datatabel after add and sort.
I have a datatable with few rows. i add a new/ item(s) and after that i want to show/focus this item.
$$("mainTable").parse(data.json().items);
$$("mainTable").sort(gl_orderby, gl_orderdir);
updRow = $$("mainTable").find(row => row.azbucid == firstBucId, true);
$$("mainTable").showItem(updRow.id);
but updRow is NULL. It works, if i don’t make “refresh” - but in this case the datatable is not correcty sorted.