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?
Jason McIntosh said:this.myGrid.ActiveRow == null;
Well, you should be using a single equals sign, not a double, for one thing.
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.
This was just what I was looking for, too. The documentation says nothing about this when it tells you about setting ActiveRow to Nothing. I was pulling my hair out...
If you are looking at the help online, there's a link at the bottom of ever page where you can submit feedback to the Infragistics Documentation team and let the know about any errors or omissions like this.