EasyUI Forum
May 05, 2024, 08:47:00 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]
31  General Category / EasyUI for Angular / Get Focus to move from button to text field on opened dialog on: July 06, 2018, 01:23:16 PM
How do I get the textbox on an open dialog to take focus. I have a eui-linkbutton in which I open a modal eui-dialog which has an eui-textbox on it. The focus stays on the button in which I opened the dialog with. I cannot programmatic seem to get the focus to move to dialog's textbox.

Any help would greatly be appreciated.
32  General Category / EasyUI for Angular / Newest Version (1.0.6) Messager Component is Throwing an Error on: June 25, 2018, 12:43:53 PM
I am using the npm install package and the messager component is throwing an error, it is trying to call a method that doesn’t exist (isBodyCollapsed). A search of the code shows this method is only called from the messager component so defect should only affect this component.

If I go back to a downloaded old copy of easy ui (1.1.4) this method used to exist on the panel component but I’m not sure when it was removed/disappeared, from panel.component.d.ts: 

import { QueryList, ElementRef } from '@angular/core';
import { PanelHeaderComponent } from './panel-header.component';
import { PanelFooterComponent } from './panel-footer.component';
export declare const PANEL_TEMPLATE: string;
export declare class PanelComponent {
    hostRef: ElementRef;
    panelRef: ElementRef;
    headerRef: ElementRef;
    bodyRef: ElementRef;
    footerRef: ElementRef;
    headers: QueryList<PanelHeaderComponent>;
    footers: QueryList<PanelFooterComponent>;
    title: string;
    iconCls: string;
    border: boolean;
    closed: boolean;
    collapsed: boolean;
    collapsible: boolean;
    closable: boolean;
    showHeader: boolean;
    showFooter: boolean;
    expandIconCls: string;
    collapseIconCls: string;
    closeIconCls: string;
    panelCls: string;
    panelStyle: Object;
    headerCls: string;
    headerStyle: Object;
    bodyCls: string;
    bodyStyle: Object;
    footerCls: string;
    footerStyle: Object;
    collapseToShrinkBody: boolean;
    readonly hasHeader: boolean;
    readonly hasFooter: boolean;
    isBodyCollapsed(): boolean;
    constructor(hostRef: ElementRef);
    onClickCollapsibleTool(event: any): void;
    onClickCloseTool(event: any): void
33  General Category / EasyUI for Angular / Re: Stop the TabPanelComponent from closing after the X is clicked. on: April 24, 2018, 08:26:36 AM
Works great thank you for your help.

34  General Category / EasyUI for Angular / Stop the TabPanelComponent from closing after the X is clicked. on: April 23, 2018, 01:44:14 PM
I don't see a before tab closing event. So is there another way to stop the tab panel component from closing after the X is pressed. Example is if the user clicks on the X and we check to see if the form is dirty. If it is than show a message box and keep the tab from closing if they select to stop closing the tab.
35  General Category / EasyUI for Angular / DataGrid locks up when setting showHeader to false. on: March 08, 2018, 12:03:38 PM
If you set showHeader to false on the DataGrid the page locks up. Here is the error I am receiving in the Console.
Error:
 ERROR TypeError: Cannot set property 'height' of undefined

My code:
<eui-datagrid [showHeader]="false" [data]="data" selectionMode="cell" [clickToEdit]="false">
     <eui-grid-column field="Member" ></eui-grid-column>
</eui-datagrid>

I am on the newest version of EasyUI. Any help would be greatly appreciated.
36  General Category / EasyUI for Angular / Re: TabsComponent does not show selectors when there are too many tabs panels. on: March 08, 2018, 11:51:39 AM
Jarry,

Any update?
37  General Category / EasyUI for Angular / Re: eui-combobox: Adjust select panel size. on: February 23, 2018, 10:40:48 AM
Jarry,

Thank you for your help
38  General Category / EasyUI for Angular / Re: TabsComponent does not show selectors when there are too many tabs panels. on: February 23, 2018, 10:38:55 AM
Jarry,

I updated to the newest version 1.0.1 and added the variable to to the eu-tab tag. But now I get an error saying "Cannot read property 'offsetWidth' of undefined". I have attached a log for the error.

Andy
39  General Category / EasyUI for Angular / eui-combobox: Adjust select panel size. on: February 22, 2018, 04:31:28 PM
How do I get the selection panel for the eui-combobox to adjust its height to how many items I have in the list?
40  General Category / EasyUI for Angular / Re: TabsComponent does not show selectors when there are to many tabs panels. on: January 23, 2018, 09:58:34 AM
Thanks you for the reply.
41  General Category / EasyUI for Angular / Re: How do I select a tab panel component in typescript. on: January 23, 2018, 09:57:26 AM
That works, thanks.
42  General Category / EasyUI for Angular / TabsComponent does not show selectors when there are too many tabs panels. on: January 19, 2018, 11:55:58 AM
TabsComponent does not show selectors when there are too many tabs panels. If you create more tab panels then can fit in the component area. The selectors do not show up on the sides, as they do with the jQuery Tab Component. Please see attached pictures.

43  General Category / EasyUI for Angular / Re: How do I select a tab panel component in typescript. on: January 19, 2018, 09:01:45 AM
Jarry ->I know the documentation say to use those, but I have try both and it is not working. Could you please show me an example so I can see what I am doing wrong?

Let me better explain what I am doing. I am creating a new tab dynamically like your example in https://www.jeasyui.com/forum/index.php?topic=7103.0. (By the way thank you for that!) The problem I am having is the new tab is not selected after it is created. I need to to automatic select the new tab after it is created.
44  General Category / EasyUI for Angular / How do I select a tab panel component in typescript. on: January 18, 2018, 11:29:53 AM
How do I select a tab panel component in typescript after the tabs have created. Like from a button click.
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!