Hi Pulkit,
Thanks for contacting Syncfusion support.
As per the GridControl current support, the browser will be launched whenever the mouse down for the LinkLabel cell is occurred. In order to restrict launching the browser, the CellMouseDown event can be handled based on conditions. Please refer to the below code and sample,
Code example
|
//Event triggering
gridControl1.CellMouseDown += GridControl1_CellMouseDown;
//Event customization
private void GridControl1_CellMouseDown(object sender, GridCellMouseEventArgs e)
{
GridStyleInfo style = gridControl1.GetViewStyleInfo(e.RowIndex, e.ColIndex);
if(style.CellType == CustomCellTypes.LinkLabelCell.ToString())
{
//To handle launching the browser.
e.Cancel = true;
}
} |
Regards,
Sindhu