Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
SelectedChange not invoked when focusing from AddNewRow template into DropDown cell
posted

Hi,

I'm trying to show some data for a currently selected row in UltraGrid. I attached to a AfterSelectChange event and I change some data in external control based on an ultraGrid.Selected.Rows property. When I click into any cell (I've got editable cells with dropdowns), I clear data in my external control, because no row is selected (this is a correct behaviour for me).

Everything works fine, except of a one situation. I've got a AddNewRow template under my grid. When I select my template row, event is fired - works fine. When I then click into an editable cell in my grid - event is not fired. I attached to a AfterCellActivate event, which is fired when I enter editable cell. I then check a ultraGrid.Selected.Rows property - there are no selected rows. So I lost a row selection, but an AfterSelectChange event was not fired.

Is this a desired behavior? It's a little bit confusing.

I prepared and attached a sample project.

UltraGridSelectionChanged.zip
Parents Reply Children
No Data