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
944
Setting Active Row
posted

I am trying to set the active row of my grid to be nothing.

I have tried:

this.myGrid.ActiveRow == null;

but it is not working. What am i missing?

Parents
  • 469350
    Verified Answer
    Offline posted

    Jason McIntosh said:
    this.myGrid.ActiveRow == null;

     

    Well, you should be using a single equals sign, not a double, for one thing. Big Smile

    But assuming this is a typo, the grid may be synchronizing with the CurrencyManager which always has a current row. So you might need to set SynchWithCurrencyManager on the grid to false.  

     

Reply Children