Hi Mohammad,
I was looking for solution something similar to this. Can I do it in a reverse way? I mean, first set the complete page in DISPLAY mode when the status is 'X' and then in Javascript set the field Status alone in EDIT mode.
I am not sure if this is possible or not. I will give it a try and share my results asap.
Thanks and Regards,
Pallavi