-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certain columns are not getting highlighted. #739
Comments
You might need to re-render the grid (via <angular-slickgrid
gridId="grid2"
[columnDefinitions]="columnDefinitions"
[gridOptions]="gridOptions"
[dataset]="dataset"
(sgOnSelectedRowsChanged)="handleOnSelectedRowsChanged($event.detail.eventData, $event.detail.args)">
</angular-slickgrid> handleOnSelectedRowsChanged(e, args) {
args.grid.invalidate();
} or ColumnPicker/GridMenu this.gridOptions = {
columnPicker: {
onColumnsChanged: (e: Event, args: any) => args.grid.invalidate()
},
gridMenu: {
onColumnsChanged: (e: Event, args: any) => args.grid.invalidate()
},
}; |
Actually I just tried it and that doesn't work because SlickGrid is only setting the What does work however is this this.gridOptions = {
columnPicker: {
onColumnsChanged: (e: Event, args: any) => args.grid.setSelectedRows(args.grid.getSelectedRows())
},
gridMenu: {
onColumnsChanged: (e: Event, args: any) => args.grid.setSelectedRows(args.grid.getSelectedRows())
},
}; it's basically recalling the row selection (read it and rewrite it back) will call that |
This is now fixed and released under the new version 2.28.2 Cheers ⭐ |
Thank you so much |
There are some identity grid columns which is not suppose to be shown hence we do not show these columns, on row selection the entire row gets highlighted.
But, when we revert back or show hidden identity columns. The cell of hidden column does not change color as per row selection.
General Topic
Your Environment
Context
Expected Behavior
When we add back hidden columns, those added columns should also get highlighted.
Current Behavior
When we hide some columns and select the row and then add those hidden columns, those added columns are not getting highlighted.


The text was updated successfully, but these errors were encountered: