jquery.dgtable 0.6.4 → 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 +7 -3
- 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 +7 -3
- 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 +7 -3
- 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 +6 -2
|
@@ -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
|
'use strict';
|
|
@@ -3612,7 +3612,7 @@ DGTable.prototype._setupVirtualTable = function () {var _p$filteredRows;
|
|
|
3612
3612
|
onItemRender: (row, index) => {
|
|
3613
3613
|
const rows = p.filteredRows || p.rows,
|
|
3614
3614
|
isDataFiltered = !!p.filteredRows,
|
|
3615
|
-
allowCellPreview =
|
|
3615
|
+
allowCellPreview = o.allowCellPreview;
|
|
3616
3616
|
|
|
3617
3617
|
row.className = rowClassName;
|
|
3618
3618
|
if (index % 2 === 1)
|
|
@@ -5504,9 +5504,10 @@ DGTable.prototype.removeRow = function (physicalRowIndex, render) {
|
|
|
5504
5504
|
* @public
|
|
5505
5505
|
* @expose
|
|
5506
5506
|
* @param {number} physicalRowIndex index
|
|
5507
|
+
* @param {boolean} render should render the changes immediately?
|
|
5507
5508
|
* @returns {DGTable} self
|
|
5508
5509
|
*/
|
|
5509
|
-
DGTable.prototype.refreshRow = function (physicalRowIndex) {
|
|
5510
|
+
DGTable.prototype.refreshRow = function (physicalRowIndex, render = true) {
|
|
5510
5511
|
let that = this,
|
|
5511
5512
|
p = that.p;
|
|
5512
5513
|
|
|
@@ -5522,6 +5523,9 @@ DGTable.prototype.refreshRow = function (physicalRowIndex) {
|
|
|
5522
5523
|
|
|
5523
5524
|
p.virtualListHelper.refreshItemAt(rowIndex);
|
|
5524
5525
|
|
|
5526
|
+
if (render)
|
|
5527
|
+
p.virtualListHelper.render();
|
|
5528
|
+
|
|
5525
5529
|
return this;
|
|
5526
5530
|
};
|
|
5527
5531
|
|