jquery.dgtable 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jquery.dgtable.cjs.js +6 -2
- package/dist/jquery.dgtable.cjs.js.map +1 -1
- package/dist/jquery.dgtable.cjs.min.js +2 -2
- package/dist/jquery.dgtable.cjs.min.js.map +1 -1
- package/dist/jquery.dgtable.es6.js +6 -2
- package/dist/jquery.dgtable.es6.js.map +1 -1
- package/dist/jquery.dgtable.es6.min.js +2 -2
- package/dist/jquery.dgtable.es6.min.js.map +1 -1
- package/dist/jquery.dgtable.umd.js +6 -2
- package/dist/jquery.dgtable.umd.js.map +1 -1
- package/dist/jquery.dgtable.umd.min.js +2 -2
- package/dist/jquery.dgtable.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/index.js +5 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* jquery.dgtable 0.6.
|
|
2
|
+
* jquery.dgtable 0.6.6
|
|
3
3
|
* git://github.com/danielgindi/jquery.dgtable.git
|
|
4
4
|
*/
|
|
5
5
|
import jQuery from 'jquery';
|
|
@@ -5502,9 +5502,10 @@ DGTable.prototype.removeRow = function (physicalRowIndex, render) {
|
|
|
5502
5502
|
* @public
|
|
5503
5503
|
* @expose
|
|
5504
5504
|
* @param {number} physicalRowIndex index
|
|
5505
|
+
* @param {boolean} render should render the changes immediately?
|
|
5505
5506
|
* @returns {DGTable} self
|
|
5506
5507
|
*/
|
|
5507
|
-
DGTable.prototype.refreshRow = function (physicalRowIndex) {
|
|
5508
|
+
DGTable.prototype.refreshRow = function (physicalRowIndex, render = true) {
|
|
5508
5509
|
let that = this,
|
|
5509
5510
|
p = that.p;
|
|
5510
5511
|
|
|
@@ -5520,6 +5521,9 @@ DGTable.prototype.refreshRow = function (physicalRowIndex) {
|
|
|
5520
5521
|
|
|
5521
5522
|
p.virtualListHelper.refreshItemAt(rowIndex);
|
|
5522
5523
|
|
|
5524
|
+
if (render)
|
|
5525
|
+
p.virtualListHelper.render();
|
|
5526
|
+
|
|
5523
5527
|
return this;
|
|
5524
5528
|
};
|
|
5525
5529
|
|