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
1445
Make 1st nonhidden row active?
posted

I have an ultra grid, that I have hidden rows on. If the first row is hidden in the grid, I do not want to have that as the active row. Is there a setting or something that says only allow non hidden rows active? I have a setup that I can around that, but its kinda annoying.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    There's no property setting for this. The active row in the grid is syncrhonized with the current position of the BindingManager, and the BindingManager has no way of knowing about the rows in the grid and which ones are hidden.

    I would do something like this:


                foreach (UltraGridRow row in this.ultraGrid1.Rows.GetFilteredInNonGroupByRows)
                {
                    row.Activate();
                    break;
                }

Children
No Data