BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi,
Does GridDataControl support CellDoubleClick event? How to enable cell level selection?
We would like to trigger some custom action when a cell is double clicked within the grid.
Thanks
Yu
Hi Yu,
Thank you for contacting Syncfusion Support.
Query: Double click in GridDataControl?
Yes, you can use CellClick event and using ClickCount property in argument you can differentiate double click.
Code example:
public MainWindow() { InitializeComponent(); this.grid.CellClick += grid_CellClick; } void grid_CellClick(object sender, Syncfusion.Windows.Controls.Grid.GridCellClickEventArgs e) { if (e.ClickCount == 2) { //code for double click } } |
Query: How to enable cell selection?
You can enable the cell level selection by setting ListBoxSelectionMode and AllowSelection properties in GridDataControl .
ListBoxSelectionMode="None" AllowSelection="Cell" |
Please refer the following sample:
Sample: Observable_Collection_Demo.zip
Please let us know if you have any queries
Regards,
Akila
Hi Yu,
Thanks for your update,
please let us know if you require further assistance.
Regards,
Akila