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
703
Firing Event on Readonly or Disabled Cell
posted

I have an ultrawingrid. On some condition entire grid is set disabled [needs to make grid uneditable, so i used UltraGrid1.Enabled= False.]

But now requirement changed. I need to make entire row readonly. And If click on cell , i want events to occur. Right now no events occuring and my most of the codes are in AfterEnterEditMode or AfterExitEditMode.  But these two events aint firing as i made rows Activation = Activation.NoEdit.

 

So any workaround????

 

  • 469350
    Verified Answer
    Offline posted

    If you use Activation = ActivateOnly, the cells will not be editable, but they will still enter edit mode and allow the user to select text for copying, and the EditMode events will fire.