|
Query |
Solution | |
|
SelectedRecordsChanged does not fire. |
By default, this event will be triggered for record selection (ListBoxSelectionMode). We suspect you might have used model based selection (AllowSelection). If you use this selection,SelectedRecordsChanged event has not triggered. So, please ensure that whether you are using ListBoxSelectionMode or AllowSelection.
Note
By default, ListBoxSelectionMode has enabled in GridGroupingControl. Please refer the following UG link,
Please refer to the below KB for more details,
| |
|
MouseDoubleClick |
MouseDoubleClick event has handled inside of the GridGroupingControlwhen grid cell getting edit mode. So, we would like to suggest to use theCellDoubleClick instead of the MouseDoubleClick event.
Note:
This event triggers when the ActivateCurrentCellBehavior asDblClickOnCell. Otherwise you can use the CellClick event. Please refer the below UG link,
| |
|
I'm trying to do this https://www.syncfusion.com/kb/2450/how-to-get-the-record-when-double-clicked-on-the-row |
You can get the clicked details from CellDoubleClick event using below any one suggestion,
Suggestion1
You can get the clicked record details from CurrentRecord property. Please refer to the below code example,
Code example
Record record = this.gridGroupingControl1.Table.CurrentRecord;
string value2 = record.GetValue(stye.TableCellIdentity.Column.Name).ToString();
Suggestion2:
You can get that cell style information GetTableViewStyleInfo method. Please refer to the below code example,
Code example
GridTableCellStyleInfo style =this.gridGroupingControl1.TableControl.GetTableViewStyleInfo(e.RowIndex, e.ColIndex);
string value = style.CellValue.ToString(); |