I have gone through the main views/record/detail.js and found that there is a setReadonly() function which seems that it makes the bottomView readOnly and sideView readOnly. i have tried to use it in my custom record/detail view but not working. Is it possible to make bottomView (Panels) & sideView (Panels) READONLY based on ceratin conditon. e.g if i have boolean and if that boolean field is false then make the whole record view with bottomView and sideView readOnly so that the user could only read.
Anyone who has done this before, i am aware of making the bottomView and sideView disabled but this is not what i want, i need to make panels in both bottomView and sideView readonly when certain conditon is met.
Thanks
Anyone who has done this before, i am aware of making the bottomView and sideView disabled but this is not what i want, i need to make panels in both bottomView and sideView readonly when certain conditon is met.
Thanks
Comment