jQWidgets Forums
Forum Replies Created
Viewing 1 post (of 1 total)
-
Author
-
February 4, 2013 at 11:51 am in reply to: Splitter load another jqxWidget html Splitter load another jqxWidget html #14630
thank for relply
there are menu.php(Splitter) and rpt_task1.htm.
export button of rpt_task1.htm work well alone.
but when it was loaded from menu.php, it doen’t work well in export button.
please help me.menu.php
$(document).ready(function () { // set Split $('#main_splitter').jqxSplitter({ width: 1600, height: 600, roundedcorners: true, theme: theme, panels: [ { size: 250, min: 100, max:300, collapsible: true, collapsed: false, resizable: true }, { size: 840, min: 840, max:840, collapsible: true, collapsed: false, resizable: true } ] }); // Create jqxTree $('#jqxTree').jqxTree({ theme: theme, width: '100%' , height: '100%'}); $('#jqxTree').bind('select', function (event) { url = event.args.element.id+".htm"; $("#rightPanel_Content").load(url ); }); }); <div> <div> <div style="border: none"> <img style='float: left;margin-right: 5px' /> <span>Report</span> <img style='float: left;margin-right: 5px' src='./folder.png' /> <span> AAA</span> <img style='float: left;margin-right: 5px' src='./contactsIcon.png' /> <span>AAA_1</span> </div> </div> <div style="width:100% height;100%"> <div></div> </div> </div>
—————
rpt_task1.htm
//-######Draw Grid function r_grid(){ $(document).ready(function () { //-###### prepare the data var source ={ datatype : "json", root : "Rows", datafields: [ { name: 'position_c' ,type: 'string'}, //1 { name: 'department' ,type: 'string'}, //2 { name: 'last_name' ,type: 'string'}, //3 ], url : url }; // alert (source.url); $("#jqxgrid").jqxGrid({ source : source, theme : theme, width : 860, columns: [ { text:'영업본부' }, { text:'영업소' }, { text:'영업사원' }, ], }); //Export $("#content_sub").show(); $("#excelExport").click(function () { $("#jqxgrid").jqxGrid('exportdata', 'xls', 'jqxGrid'); }); $("#autoResize").jqxButton({ theme: theme }); $("#autoResize").click(function () { $("#jqxgrid").jqxGrid('autoresizecolumns'); }); }) } <div> <div> 방문일자별 영업활동 리포트 </div> <div> <div></div> <div style='float: left'> </div> </div> <div> Copyright © 2013. KOSS Business Solution. All rights reserved. </div> </div>
-
AuthorPosts
Viewing 1 post (of 1 total)