_mapSelection: function(callback, column, row) {
...
for (var i = 0; i < rows.length; i++) {
var item = this.getItem(rows[i]);
if (typeof item == "undefined") break; //add this code
var selection = this.data.getMark(item.id, "webix_selected");
Hi Maksim,
I fix the bug with adding “if (typeof item == “undefined”) break; //add this code”
Please confirm this solution, in dyn loading, this.data.order will return totalrows, but not all rows are in local.
The above fix is correct, we will include similar one in the next build.
Thanks for the code
Hi maksim, fix is not included in webix 2.2.1, please help to fix .
http://webix.com/snippet/023a0080
Fix is still in place.
for (var i=0; i<rows.length; i++){
var item = this.getItem(rows[i]);
if (!item) continue; //dyn loading, row is not available