@wavemaker/app-ng-runtime 11.6.0-next.26299 → 11.6.0-next.26302
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.
- app-ng-runtime/components/data/table/bundles/index.umd.js +6 -2
- app-ng-runtime/components/data/table/esm2020/table.component.mjs +7 -3
- app-ng-runtime/components/data/table/fesm2015/index.mjs +6 -2
- app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/fesm2020/index.mjs +6 -2
- app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +2 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +2 -2
|
@@ -109,6 +109,7 @@ export declare class TableComponent extends StylableComponent implements AfterCo
|
|
|
109
109
|
rowActions: any[];
|
|
110
110
|
selectedColumns: any;
|
|
111
111
|
shownavigation: boolean;
|
|
112
|
+
showFirstRow: boolean;
|
|
112
113
|
dataset: any;
|
|
113
114
|
_liveTableParent: any;
|
|
114
115
|
isPartOfLiveGrid: any;
|
|
@@ -245,7 +246,7 @@ export declare class TableComponent extends StylableComponent implements AfterCo
|
|
|
245
246
|
setIsDataUpdatedByUser: (value: any) => void;
|
|
246
247
|
onDataRender: () => void;
|
|
247
248
|
onRowSelect: (row: any, e: any) => void;
|
|
248
|
-
assignSelectedItems: (row: any, e: any,
|
|
249
|
+
assignSelectedItems: (row: any, e: any, rowInfo: any) => void;
|
|
249
250
|
onRowDblClick: (row: any, e: any) => void;
|
|
250
251
|
onRowDeselect: (row: any, e: any) => void;
|
|
251
252
|
callOnRowDeselectEvent: (row: any, e: any) => void;
|
app-ng-runtime/package.json
CHANGED
|
@@ -1669,7 +1669,7 @@ $.widget('wm.datatable', {
|
|
|
1669
1669
|
var rowId = $row.attr('data-row-id');
|
|
1670
1670
|
var rowData = this.preparedData[rowId];
|
|
1671
1671
|
var data = this.options.data[rowId];
|
|
1672
|
-
this.options.assignSelectedItems(data, e, rowData?._selected);
|
|
1672
|
+
this.options.assignSelectedItems(data, e, {'rowId': rowId, '_selected': rowData?._selected});
|
|
1673
1673
|
}
|
|
1674
1674
|
},
|
|
1675
1675
|
|
|
@@ -2986,7 +2986,7 @@ $.widget('wm.datatable', {
|
|
|
2986
2986
|
rowId = $row.attr('data-row-id'),
|
|
2987
2987
|
rowData = self.options.data[rowId];
|
|
2988
2988
|
// If we enable multiselect and check header checkbox then updating selecteditem in datatable.
|
|
2989
|
-
self.options.assignSelectedItems(rowData, e, self.preparedData[rowId]?._selected);
|
|
2989
|
+
self.options.assignSelectedItems(rowData, e, {'rowId': rowId, '_selected': self.preparedData[rowId]?._selected});
|
|
2990
2990
|
self.toggleRowSelection($row, checked, e, true);
|
|
2991
2991
|
if (checked && _.isFunction(self.options.onRowSelect)) {
|
|
2992
2992
|
self.options.onRowSelect(rowData, e);
|