Only work like:
mask_grid_navi_via_points = new Ext.LoadMask(grid_navi_via_points.getEl(), {msg: 'Text...<button>Cancel</button>'});
I want insert Ext.Button and if like:
var btn = new Ext.Button({
renderTo: id,
text: 'Cancel',
handler: function(){
mask_grid_navi_via_points.hide();
}
});
mask_grid_navi_via_points = new Ext.LoadMask(grid_navi_via_points.getEl(), {msg: 'Text...'+btn});
return [object Object]?
This is not so easy, since LoadMask is not a container, which would have
items
property. You could try