You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Changing a datagrid's selectable option doesn't take effect. After changing the selectable value, when the user clicks on a cell in the datagrid, the incorrect event is being fired. The selectable value has not been updated.
Steps to reproduce the behavior
Attempt to change a datagrid's selectable value using either of the following did not work:
this.sohoDataGridComponent.selectable = selectionMode;
or this.sohoDataGridComponent.selectable(selectionMode);
Looking at the coding for setting the selectable value....
@Input() set selectable(selectable: any) {
this._gridOptions.selectable = selectable;
if (this.jQueryElement) {
// Just changing the datagrid.settings.selectable updates the datagrid view.
this.datagrid.settings.selectable = selectable;
this.markForRefresh('selectable', RefreshHintFlags.RenderRows);
}
}
Probably need to get together to show/resolve.
Expected behavior
The selectable value is changed from 'single' to 'mixed'. When a cell in the datagrid is clicked, its firing a row selection event, but it should be firing a row activation event.
claudenbach
changed the title
Datagrid: changing the selectable value does not take effect
Datagrid: Changing the selectable value does not take effect
Nov 4, 2020
Describe the bug
Changing a datagrid's selectable option doesn't take effect. After changing the selectable value, when the user clicks on a cell in the datagrid, the incorrect event is being fired. The selectable value has not been updated.
Steps to reproduce the behavior
Attempt to change a datagrid's selectable value using either of the following did not work:
this.sohoDataGridComponent.selectable = selectionMode;
or
this.sohoDataGridComponent.selectable(selectionMode);
Looking at the coding for setting the selectable value....
Probably need to get together to show/resolve.
Expected behavior
The selectable value is changed from 'single' to 'mixed'. When a cell in the datagrid is clicked, its firing a row selection event, but it should be firing a row activation event.
Version
Needed in Enterprise 4.35.x
Is related to Git #4573.
The text was updated successfully, but these errors were encountered: