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
4165
Setting Row.Activation taking 7 seconds on 90 rows.
posted

I have a pretty simple grid. I have a method where I am setting the activation of each row to Activate Only.

Like this

foreach(var r in ugEqiupment.Rows)

r.Activation = Activation.ActivateOnly

Why would that take so bloody long?

Thanks,

M.

Parents
  • 29105
    Suggested Answer
    Offline posted

    Hello,

    You may only have one active row at a time. You can instead, use the 'Selected' property, which will highlight your rows.

    foreach (UltraGridRow row in this.ultraGrid1.Rows)

    {
    row.Selected = true;
    }

    The Activation enumeration will help specify what action to take when a single row does indeed become active.

Reply Children