Set the mode to Read-Only

In my skuid page, I need to set the mode of all editable components to read-only. Any idea on how to implement this functionality in javascript snippet?

field editors in all tabs should be displayed as read-only as well, not only in the active tab

Here is a post about changing modes using javascript. There are a lot of comments with a lot of explanation. Make sure you read through them all.

Did you mean to post a link here? I don’t think that came through. At least, I can’t se a link to a post

The link would be helpful!
http://community.skuid.com/skuid/topics/_edit_mode_button?topic-reply-list%5Bsettings%5D%5Bfilter_b…