Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{{===}}}
- //<![CDATA[
- var resizeGridBox = function () {
- var width = (org.guzaba.cms.dhxLayout.cells('b').getWidth() - 20) + 'px';
- var height = (org.guzaba.cms.dhxLayout.cells('b').getHeight() - 200) + 'px';
- $('gridbox').style.width = width;
- $('gridbox').style.height = height;
- }
- resizeGridBox();
- var grid = new dhtmlXGridObject('gridbox');
- grid.setImagePath("external/dhtmlx/grid/imgs/");
- grid.setSkin('dhx_blue');
- grid.enableColumnAutoSize(true);
- grid.init();
- grid.loadXML("<?= $this->dsp->data_url ?>");
- var show_application(application_id) {
- // org.guzaba.cms.loadContent(url({app:'app', p:'site', c:'manage_applications', a:'write', id:'application_id'}));
- }
- ns.show_application = show_application;
- //]]>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement