Hi Sridhar,
For the 2nd point. you can create a Grid in custom code like this
var grid_c0c1 = new com.sap.xmii.grid.init.i5Grid("Default/i5Grid","Default/tagQ",true);
window["grid_c0c1"].update(true);
It will give an error, saying “oDomref must not null”, But in chrome we can still work.
Regards,
Sriram