@yuneta/gobj-ui 7.2.3 → 7.2.4
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/gobj-ui.cjs.js
CHANGED
|
@@ -16984,6 +16984,7 @@ function create_tabulator(gobj) {
|
|
|
16984
16984
|
});
|
|
16985
16985
|
tabulator.on("dataProcessed", update_rowcount);
|
|
16986
16986
|
tabulator.on("dataChanged", update_rowcount);
|
|
16987
|
+
tabulator.on("dataFiltered", update_rowcount);
|
|
16987
16988
|
tabulator.on("rowSelected", function(row) {
|
|
16988
16989
|
(0, _yuneta_gobj_js.gobj_send_event)(gobj, "EV_SELECT_ROWS", { rows: [row.getData()] }, gobj);
|
|
16989
16990
|
});
|
package/dist/gobj-ui.es.js
CHANGED
|
@@ -16979,6 +16979,7 @@ function create_tabulator(gobj) {
|
|
|
16979
16979
|
});
|
|
16980
16980
|
tabulator.on("dataProcessed", update_rowcount);
|
|
16981
16981
|
tabulator.on("dataChanged", update_rowcount);
|
|
16982
|
+
tabulator.on("dataFiltered", update_rowcount);
|
|
16982
16983
|
tabulator.on("rowSelected", function(row) {
|
|
16983
16984
|
gobj_send_event(gobj, "EV_SELECT_ROWS", { rows: [row.getData()] }, gobj);
|
|
16984
16985
|
});
|
package/package.json
CHANGED
|
@@ -1115,10 +1115,15 @@ function create_tabulator(gobj)
|
|
|
1115
1115
|
delete tabulator._pendingData;
|
|
1116
1116
|
}
|
|
1117
1117
|
});
|
|
1118
|
-
/* dataProcessed: after load/
|
|
1119
|
-
*
|
|
1118
|
+
/* dataProcessed: after load/sort. dataChanged: rows added/removed/
|
|
1119
|
+
* edited. dataFiltered: after a filter runs — and that one is the
|
|
1120
|
+
* reason the footer used to LIE. It read "5 Filas" over four visible
|
|
1121
|
+
* rows, because filtering fires its own event and neither of the other
|
|
1122
|
+
* two. Nobody had noticed while the only filter was the global search
|
|
1123
|
+
* box; a filter per column made it a claim you read on every keystroke. */
|
|
1120
1124
|
tabulator.on("dataProcessed", update_rowcount);
|
|
1121
1125
|
tabulator.on("dataChanged", update_rowcount);
|
|
1126
|
+
tabulator.on("dataFiltered", update_rowcount);
|
|
1122
1127
|
tabulator.on("rowSelected", function(row) {
|
|
1123
1128
|
gobj_send_event(gobj, "EV_SELECT_ROWS", {rows: [row.getData()]}, gobj);
|
|
1124
1129
|
});
|