|
@@ -2440,9 +2440,10 @@
|
|
|
if (rowId === -1) {
|
|
if (rowId === -1) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- $.extend(that.data[rowId], params.row);
|
|
|
|
|
|
|
+ $.extend(that.options.data[rowId], params.row);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ this.initSearch();
|
|
|
this.initSort();
|
|
this.initSort();
|
|
|
this.initBody(true);
|
|
this.initBody(true);
|
|
|
};
|
|
};
|
|
@@ -2466,9 +2467,10 @@
|
|
|
if (!params.hasOwnProperty('index') || !params.hasOwnProperty('row')) {
|
|
if (!params.hasOwnProperty('index') || !params.hasOwnProperty('row')) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- $.extend(that.data[params.index], params.row);
|
|
|
|
|
|
|
+ $.extend(that.options.data[params.index], params.row);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ this.initSearch();
|
|
|
this.initSort();
|
|
this.initSort();
|
|
|
this.initBody(true);
|
|
this.initBody(true);
|
|
|
};
|
|
};
|