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.
We're trying to use the DataGridControl control in a master/detail view situation.
As part of this, we're attempting to use some of the events on this control to track the currently active cell, and assign a secondary user control in the window based off the element assigned in the current cell.
Right now, we're attempting this using the CurrentCellActivating and CurrentCellActivated events. However, we've run into two issues.
1) Setting cancel=true in CurrentCellActivating doesn't seem to prevent the current cell from switching. Is there a better event we should be using to prevent this? (We want to be able to keep the user from changing "rows" in the grid, under certain circumstances).
2) CurrentCellActivated seems to fire BEFORE SelectedItem has changed. Right now, we're trying to set the detail UI off the grid control's SelectedItem property in CurrentCellActivated, but this seems to be the "item" corresponding to the LAST active cell, even though it's in the Activated event. What can we use to correctly track this information?