Also, you could use the same concept to change the mode for multiple components by including all of the component ids in the button’s class list!
var params = arguments[0], $ = skuid.$, targetList = params.button[0].classList; $.each(targetList,function(){ var component = skuid.$C(this), // $C is component.getById f = component && component.element; if (f) { if(f.mode == 'read'){ f.mode = 'edit'; f.list.render({doNotCache:true}); } else if(f.mode == 'edit'){ f.mode = 'read'; f.list.render({doNotCache:true}); } } });<br />