html - How to increase the height of a dojo Enhanced datagrid' s each row when grid div increased -
i have dojo enhanced grid in web-page. trying apply full screen on using html5 full screen api. working fine height , width not enlarged in full screen view. code having now. changes have make adjust height , width on full screen?
function resizegrid() { dijit.byid('grid1').autoheight = false; dijit.byid('grid1').autowidth = false; var x= dijit.byid('grid1'); var contentbox = dojo.contentbox(x); contentbox = dojo.setcontentsize(dojo.byid("grid1"), {t: 20, l: 30, h: 500, w: 830}); grid.update(); } var gridlayout = [ { name: "ip/phone no.", classes: "title", field: "devtype", fields:['devtype', 'name'], formatter:formatlink1,styles: 'text-align: center;', width: "150px"}, { name: 'status', classes: "title", field: "statusmessagefull", fields:['statusmessagefull', 'statusmessagecolor'], formatter:formatlink,styles: 'text-align: center;', width: "150px"}, { name: "i/p voltage (v)", classes: "title",field: "mainsvoltage",styles: 'text-align: center;', width: "80px" }];
Comments
Post a Comment