@trudb/tru-common-lib 0.0.633 → 0.0.634
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.
|
@@ -3192,29 +3192,27 @@ class TruDataGrid {
|
|
|
3192
3192
|
};
|
|
3193
3193
|
}
|
|
3194
3194
|
onCellFocused(event) {
|
|
3195
|
-
if (event.column.colDef.pinned) {
|
|
3196
|
-
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
}
|
|
3217
|
-
this.gridOptions.api.setColumnDefs(columnDefs);
|
|
3195
|
+
//if (event.column.colDef.pinned) {
|
|
3196
|
+
// this.gridOptions.suppressRowClickSelection = false;
|
|
3197
|
+
//} else {
|
|
3198
|
+
// this.gridOptions.suppressRowClickSelection = true;
|
|
3199
|
+
// this.gridOptions.api.deselectAll();
|
|
3200
|
+
//}
|
|
3201
|
+
//let columnDefs = this.config.resultConfig.columnDefs;
|
|
3202
|
+
//if (event.column.colDef.pinned) {
|
|
3203
|
+
// columnDefs.forEach((columnDef: any, index: number) => {
|
|
3204
|
+
// if (index !== 0)
|
|
3205
|
+
// columnDef.headerClass = 'ag-column-focus';
|
|
3206
|
+
// });
|
|
3207
|
+
//} else {
|
|
3208
|
+
// columnDefs.forEach((columnDef: any, index: number) => {
|
|
3209
|
+
// if (index !== 0 && event.column.colId === columnDef.field)
|
|
3210
|
+
// columnDef.headerClass = 'ag-column-focus';
|
|
3211
|
+
// else
|
|
3212
|
+
// columnDef.headerClass = undefined;
|
|
3213
|
+
// });
|
|
3214
|
+
//}
|
|
3215
|
+
//this.gridOptions.api.setColumnDefs(columnDefs);
|
|
3218
3216
|
}
|
|
3219
3217
|
ngOnInit() {
|
|
3220
3218
|
this.subscribeTo();
|