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
910
AfterCellDeactivate?
posted

Why is there no AfterCellDeactivate?

Is there a way to get notified if the ActiveCell of an ultragrid has changed to null?

Thanks,

Michael

  • 6120
    Offline posted

    Hi Michael, 

    As an alternative you can use AfterCellActivate event. If you can elaborate on this requirement details like why you wanted to know when the ActiveCell is deactivated, and in what scenarios the ActiveCell is set to null, then we can suggest you a more specific solution.

    Sincerely,

    Sahaja Kokkalagadda

    Associate Software Developer, Windows Forms

    http://www.infragistics.com/

    • 910
      Offline posted in reply to Sahaja Kokkalagadda

      The reason bheind this is to disable ribbontool based on if a cell is activated or not.

      In the meanwhile I have a workaround, if

      a) grid is loosing focus

      b) row is selected

      Why is the cell not deactivated if I select the column?

      The AfterCellActivate is appearantly not fired, if the active cell changed to null.

      • 6120
        Offline posted in reply to prof.chaos

        The Cell is not deactivated when a Column is selected because there is no concept of ActiveColumn, just ActiveRow and ActiveCell. Hence selecting columns doesn’t affect the active cell.       

         

        Sincerely,

        Sahaja Kokkalagadda

        Associate Software Developer, Windows Forms

        http://www.infragistics.com/