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
324
URGENT: How to programmatically set a boundfield to ReadOnly via CSOM
posted

I learned a lot from these forums, thanks guys.  I have another one here, must be a way to do it, but the poor online documentation doesn't tell me how.  Argh.

The scenario is this:

In my WebDataGrid, I have a templated field that contains a dropdownlist.  In the javascript onchange event of this dropdownlist, I look at the value the user chose.  Depending on this value, I need to be able to make a BoundField in the current row ReadOnly.  

In a different posting, someone mentioned that you have to set_cancel within the EnteringEditMode event in order to make it read-only.  But I need to set the cancellation of it dynamically, in javascript.  I was able to use the CSOM to get the  Any advice?  Let me know if I'm not clear enough.

Thanks guys!

Parents Reply Children
No Data