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
525
CellControlAttached make row not editable
posted

Hi,

I do a check on the CellControlAttached event to know if a row is of a certain datatype.

Is it possible to prohibit a row (or cells) from being editable when this check is being true ?

Thanks,

Nicolas

Parents
No Data
Reply
  • 6475
    Verified Answer
    posted

    Hi Nicolas,

    Using the CellControlAttached event might not be the best way to achieve this. You could use the RowEnteringEditMode / CellEnteringEditMode events, perform these checks there, and set the e.Cancel event argument to "true" to prohibit entering edit mode on that row/cell.

     

    Hope that helps,

Children
No Data