EasyUI Forum
April 19, 2024, 06:30:08 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2 3
1  General Category / EasyUI for Angular / BarCode widget on: October 07, 2019, 10:54:14 PM
please adding BarCode widget
2  General Category / EasyUI for Angular / need ComboTreeGrid widget on: June 07, 2018, 07:09:16 PM
need ComboTreeGrid widget
3  General Category / EasyUI for Angular / Re: How to cache various editor in datagrid? on: June 06, 2018, 05:53:53 PM
Hi,
In your demo code, you use  ng-template in the template, How to assign the editor to the column in code dynamically?
4  General Category / EasyUI for Angular / Re: How to cache various editor in datagrid? on: June 05, 2018, 06:24:13 PM
Is there any demo?
5  General Category / EasyUI for Angular / How to cache various editor in datagrid? on: May 31, 2018, 06:41:22 PM
How to cache various editor in datagrid?
6  General Category / EasyUI for Angular / Re: Tree nodeExpand event not fired. on: April 01, 2018, 06:04:42 PM
Hi,
I have made it worked. The node data must have "state"
7  General Category / EasyUI for Angular / Tree nodeExpand event not fired. on: March 30, 2018, 03:29:23 AM
Tree nodeExpand event not fired.
8  General Category / EasyUI for Angular / Re: Please add split support to LayoutPanelComponent on: March 29, 2018, 01:30:48 AM
Hi,
after add the euiResizable, when click it , the layoutpanel is disappeared from the UI and cannot click it to return it back.
9  General Category / EasyUI for Angular / Re: eui-textbox and eui-passwordbox width = 100% failed in form on: March 28, 2018, 11:29:44 PM
after set its parent div width=100%, it still doesn't work. After check with chrome, your eui-textbox and eui-passwrodbox wrappeed a <span> outside the <input> so manually set the outer <span> width = 100% in the chrome browser debugger, then its ok.
10  General Category / EasyUI for Angular / Re: eui-textbox and eui-passwordbox width = 100% failed in form on: March 28, 2018, 08:29:18 PM
when we use <input> its ok, but when changed to eui-textbox, failed.
11  General Category / EasyUI for Angular / Re: Please add fit layout options to TabsCompoent on: March 26, 2018, 03:04:55 AM
Hi,
the datagrid height cannot be 100%
12  General Category / EasyUI for Angular / eui-textbox and eui-passwordbox width = 100% failed in form on: March 26, 2018, 12:46:01 AM
eui-textbox and eui-passwordbox width = 100% failed in form
13  General Category / EasyUI for Angular / Re: Please add fit layout options to TabsCompoent on: February 06, 2018, 05:56:36 PM
You should add 'display:flex' style to the layout panel.
Code:
<eui-layout-panel region="center" [bodyStyle]="{display:'flex' }" style="height:100%;">
...
</eui-layout-panel>

As a shortcut, you can use this code instead:
Code:
<eui-layout-panel region="center" bodyCls="f-column" style="height:100%;">
...
</eui-layout-panel>



After use your above suggestion, its ok now. But after combine the sample code of dynamic tab content https://www.jeasyui.com/demo-angular/main/index.php?plugin=Tabs&theme=material&dir=ltr&pitem=Dynamic%20Tab%20Content&sort=, the datagrid height cannot be 100% of the it parent container. use chrome to debug found there is a <app-user> element outside datagrid elment
14  General Category / EasyUI for Angular / Re: Please add fit layout options to TabsCompoent on: February 04, 2018, 11:36:19 PM
Hi,
after use the sample code dynamic tab content https://www.jeasyui.com/demo-angular/main/index.php?plugin=Tabs&theme=material&dir=ltr&pitem=Dynamic%20Tab%20Content&sort=, the datagrid height cannot be 100% of the tab.

the following is the code:

tab component:
<eui-datagrid
    [pagination]="true"
    [lazy]="true"
    [data]="data"
    [total]="total"
    [pageNumber]="pageNumber"
    [pageSize]="pageSize"
    [pagePosition]="pagePosition"
    [loading]="loading"
    (pageChange)="onPageChange($event)" bodyCls="f-column" style="height:100%;border: 1px solid red;padding: 0px">
    <eui-grid-column field="inv" title="Inv No" width="100%"></eui-grid-column>
    <eui-grid-column field="name" title="Name" width="100%"></eui-grid-column>
    <eui-grid-column field="amount" title="Amount" width="100%" align="right"></eui-grid-column>
    <eui-grid-column field="price" title="Price" width="100%" align="right"></eui-grid-column>
    <eui-grid-column field="cost" title="Cost" width="100%" align="right"></eui-grid-column>
    <eui-grid-column field="note" title="Note" width="100%"></eui-grid-column>
</eui-datagrid>

appcomonent:

<eui-layout #layout fit ="true" style="height: 100%">
  <eui-layout-panel region="north" class="logo" title="后台管理"   style="text-align:center;">
  </eui-layout-panel>
  <eui-layout-panel region="west" title="导航" collapsible="true" euiResizable handles="e"  style="width:150px;" (resizing)="layout.updatePaddings()">
    <eui-tree [data]="menuData" (nodeClick) ="menuClick($event)"></eui-tree>
  </eui-layout-panel>
  <eui-layout-panel region="center" bodyCls="f-column" style="height:100%;">
    <eui-tabs #tabsHost style="display:flex;flex:1">
      <eui-tab-panel [title]="'Home'" iconCls="icon-ok">
        <p>The home tab.</p>
      </eui-tab-panel>
      <eui-tab-panel *ngFor="let tab of tabs" [title]="tab.title" bodyCls="f-column" style="height:100%;border: 1px solid red;padding: 0px">
        <tab-detail [component]="tab.component"></tab-detail>
      </eui-tab-panel>
    </eui-tabs>
  </eui-layout-panel>
  <eui-layout-panel region="south">
    <eui-panel-header>
      <div class="panel-title" style="text-align:center">2015-2017</div>
    </eui-panel-header>
  </eui-layout-panel>>
</eui-layout>


15  General Category / EasyUI for Angular / Re: How to dynamically create a tabpanelcomponent and add it to an existed Tabs? on: February 04, 2018, 10:35:42 PM
Is it possible to use component name string "Dy1Component" to load component, so that AppComponent doesn't depend on Dy1Component. Because may be there many commponents.
Pages: [1] 2 3
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!