this.gridGroupingControl1.TableOptions.AllowSelection = Syncfusion.Windows.Forms.Grid.GridSelectionFlags.None;
this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
I want to have the same behavior bug allowing me to selected cells only. Not all the row.
|
this.gridGroupingControl1.TableOptions.AllowSelection = Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Cell; |
|
this.gridGroupingControl1.TableModel.SelectionChanging += OnTableModel_SelectionChanging;
this.gridGroupingControl1.TableModel.SelectionChanged += OnTableModel_SelectionChanged;
private void OnTableModel_SelectionChanging(object sender, Syncfusion.Windows.Forms.Grid.GridSelectionChangingEventArgs e)
{
Console.WriteLine("Changing");
}
private void OnTableModel_SelectionChanged(object sender, Syncfusion.Windows.Forms.Grid.GridSelectionChangedEventArgs e)
{
Console.WriteLine("Changed");
} |