How do i set autoHeight dynamically in dojo grid 1.1?
please do help... Thanks in Advance
please do help... Thanks in Advance
function changeHeight() {
document.getElementById("div Id in which the dojo grid is there").style.height = "your desire height";
dijit.byId('Id of the dojo grid').resize();
}
var subGridProps = {
structure: subGridCells,
rowCount: 2,
height:'100px', --------------------------> not working
//autoHeight: true, ----------------------> it works fine
autoRender: false
model:subGridModel
};
subGrid = new dojox.Grid(subGridProps);
Comment