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
415
How to access underlying editor from a cell
posted

I have set readonly mode on a xamcomboeditor embedded within a xamgrid.  I have a domain context that checks if this record is not being updated by any other user.  If it isnt a valid lock is returned, at which point i would like to set the xamcomboeditor to writable.

However after looking at the properties available from the cell, i cant seem to get at the editor object to change the required properties.

Any help would be much appreciated.

Thanks

Danial

 

Parents
No Data
Reply
  • 21382
    posted

    Dealing directly with the editor would not be the proscribed way of handling this.  When the cell goes into edit mode a different control maybe be placed there.  You would probably be better off controlling this via the CellEnteringEdit mode event which can be cancelled to prevent editing.  

Children
No Data