How to 'redraw' initialized components if you'd like to change something?
Generally, to redefine some property of a component after it has been initialized (doesn't matter the type a property has: string, number, object etc.) you need to use the method define():
$$("myGrid").define("css","my_style"); $$("myGrid").refresh();
where
The current value of any property can be gotten through $$(“component_id”).config.propertyName:
var width = $$("myList").config.width;
Some properties are objects. In this case after $$(“component_id”).config you should write the complete dependency property inheritance chain:
var width = $$('myGrid').config.fields['field_1'].width;