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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jquery.dgtable",
|
|
3
3
|
"description": "High-performance table View for jQuery",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.6",
|
|
5
5
|
"main": "dist/jquery.dgtable.cjs.min.js",
|
|
6
6
|
"module": "dist/jquery.dgtable.es6.min.js",
|
|
7
7
|
"broswer": "dist/jquery.dgtable.umd.min.js",
|
package/src/index.js
CHANGED
|
@@ -2307,9 +2307,10 @@ DGTable.prototype.removeRow = function (physicalRowIndex, render) {
|
|
|
2307
2307
|
* @public
|
|
2308
2308
|
* @expose
|
|
2309
2309
|
* @param {number} physicalRowIndex index
|
|
2310
|
+
* @param {boolean} render should render the changes immediately?
|
|
2310
2311
|
* @returns {DGTable} self
|
|
2311
2312
|
*/
|
|
2312
|
-
DGTable.prototype.refreshRow = function(physicalRowIndex) {
|
|
2313
|
+
DGTable.prototype.refreshRow = function(physicalRowIndex, render = true) {
|
|
2313
2314
|
let that = this,
|
|
2314
2315
|
p = that.p;
|
|
2315
2316
|
|
|
@@ -2325,6 +2326,9 @@ DGTable.prototype.refreshRow = function(physicalRowIndex) {
|
|
|
2325
2326
|
|
|
2326
2327
|
p.virtualListHelper.refreshItemAt(rowIndex);
|
|
2327
2328
|
|
|
2329
|
+
if (render)
|
|
2330
|
+
p.virtualListHelper.render();
|
|
2331
|
+
|
|
2328
2332
|
return this;
|
|
2329
2333
|
};
|
|
2330
2334
|
|