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
445
Can an individual cell be set to read only?
posted

I am usining WebDataGrid 11.1.

I would like to know if an individual cell can be set to read only?  I know how to set an individual column to read only using the behaviors.  It seems like the same is not possible for an individual cell.

I don't necessarily need to do it at this point,, but it is something that is likely to come up in the future and I woudl just like to know if it is possible.  It was possible in the UltraWebGrid, which I am in process of replacing in my application.

Thanks.

Parents
  • 33839
    Verified Answer
    posted

    Hi wamanring,

    This question has been answered several times.  There is no way to do it on the server, however on the client you can handle cellEditing's enteringEditMode event.  You can check the value of the cell or something and then call args.set_cance(true) to prevent it from entering edit mode.

    regards,
    David Young 

Reply Children
No Data