The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am new in using databoundgrid and I would like to ask that in the syncfusion comboBoxExt Demo, the gridcontrol can alphablending a row on mouseover.
Could anyone tell me how to do that as I've set many different properties about selection on the grid but still got that the selection change only when I click the row. In addition, I would like to alphablending the whole row (like the sample ) but the backgroup colour of the current selected cell always different from the others. Anyway to deal with it as what I care about is the multiple row selection other than the individual cell selection.
HAhaneefm Syncfusion Team May 31, 2007 03:14 PM UTC
Hi Jasper,
One you can do this by handling the MouseMove event and use Model.Selection property to add row selection for mouse over row in grid. Here is a code snippet.
private void gridDataBoundGrid1_MouseMove(object sender, MouseEventArgs e) { GridDataBoundGrid grid = sender as GridDataBoundGrid; int row ,col; if( grid.PointToRowCol(new Point(e.X,e.Y),out row, out col) ) { grid.Model.Selections.Clear(false); grid.Model.Selections.Add(GridRangeInfo.Row(row)); grid.Model.Selections.Add(GridRangeInfo.Row(grid.CurrentCell.RowIndex)); } }