3514
|
General Category / EasyUI for jQuery / Re: Questions about Tabs
|
on: December 01, 2011, 08:13:03 PM
|
For the portal issue, if the horizontal scrollbar is generate by tab panel, set the 'overflow:hidden' style for that tab panel: <div id="tt" fit="true"> <div title="Title1"></div> <div title="Portal Title" style="overflow:hidden"> <div id="pp" style="position:relative"> </div> </div>
You can try another way: when select the portal tab panel, call 'resize' method to reset the portal size: $('#tt').tabs({ onSelect:function(title){ if (title == 'Portal Title'){ $('#pp').portal('resize'); } } });
|
|
|
3521
|
General Category / EasyUI for jQuery / Re: Delay Ajax Loading?
|
on: November 14, 2011, 06:44:23 PM
|
The panel load its content via 'href' only when the panel is opened or expanded. Set 'closed' property to true or 'collapsed' property to true to prevent the content from loading at once.
|
|
|
3523
|
General Category / EasyUI for jQuery / Re: How to use DataGrid within a Portal Layout?
|
on: November 04, 2011, 08:31:14 PM
|
When datagrid parent panel resize, try call 'resize' method for your datagrid: <div id="pdatagrid" title="TEST" collapsible="true" closable="true" maximizable="true"> <table width="100%" cellspacing="0" cellpadding="0" border="0" id="test-datagrid" class="easyui-datagrid"> ... </table> </div>
$('#pdatagrid').panel('options').onResize = function(){ $('#test-datagrid').datagrid('resize'); }
|
|
|
3524
|
General Category / EasyUI for jQuery / Re: Problems with Accordion Layout
|
on: November 01, 2011, 06:12:20 PM
|
Put your accordion component in separate <div> container: Carol's Info:<br/> <% userid = 345 %> <div style="width:300px;height:200px;"> <!-- #include file="include/userinfo.inc"--> </div>
Bob's Info:<br/> <% userid = 678 %> <div style="width:300px;height:200px;"> <!-- #include file="include/userinfo.inc"--> </div>
|
|
|
|