jQWidgets Forums

jQuery UI Widgets Forums Angular Angular 2 Tab and Treeview component

This topic contains 8 replies, has 2 voices, and was last updated by  Ivo Zhulev 8 years, 5 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • Angular 2 Tab and Treeview component #89408

    junior
    Participant

    Hello Peter Stoev,

    How to add Tab and Tabpage and Node and Items dynamically in angular 2 Tab and Treeview component?
    Thanks.

    Angular 2 Tab and Treeview component #89423

    junior
    Participant

    Hello Peter Stoev,

    Where we can find the angular 2 component widgets documentation?

    Thanks.

    Angular 2 Tab and Treeview component #89480

    Ivo Zhulev
    Participant

    Hi junior,

    The documentation can be found in the documentation tab:
    http://www.jqwidgets.com/jquery-widgets-documentation/documentation/angular2/angular2.htm

    You can add Tabs with one the following jqxTabs properties: addAt addFirst addLast.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

    Angular 2 Tab and Treeview component #89488

    junior
    Participant

    Hi Ivo Zhulev,

    Can you show me an example of how to use addAt, addFirst and addLast? I don’t see a demo or in a documentation of how to use those methods using angular 2.

    Thanks.

    Angular 2 Tab and Treeview component #89503

    junior
    Participant

    Hi Ivo Zhulev,

    Is angular_jqxdataAdapter is functional in angular 2 and it has the same functionality with query jqxdataAdapter?
    Thanks.

    Angular 2 Tab and Treeview component #89511

    Ivo Zhulev
    Participant

    Hi junior,

    Use jqxDataAdapter the normal way like in the jQuery demos:
    dataAdapter = new $.jqx.dataAdapter(source);

    The documentation I gave you is about Angular2.
    About the widget you can find it in the same section or in the demos section.

    Go to Demo => jqxTabs => Default Functionality => API Reference

    There you will find all jqxTabs props, methods, events.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

    Angular 2 Tab and Treeview component #89529

    junior
    Participant

    Hi Ivo Zhulev,
    By looking at this method of angular_jqxtabs you can see there is a “content” parameter of type string and as what I understand it is ‘html element’ mentioned in documentation. So, my question is how to implement that “content” using ‘html element’ format like for example I have a html file Form with lots inputs and validations inside and I will use it to be displayed in a tabpage?
    addAt(index: number, title: string, content: string): void {
    this.host.jqxTabs(‘addAt’, index, title, content);
    }

    About the angular_jqxdataAdapter what is the use of still putting it in angular 2?

    Thanks.

    Angular 2 Tab and Treeview component #89541

    junior
    Participant

    Hi Ivo Zhulev,

    Can we have this additional feature in angular_jqxtabs in angular 2 addAt(index: number, title: string, content: string): void {
    this.host.jqxTabs(‘addAt’, index, title, content);
    Instead of only content: string parameter can you add an additional parameter like content:HTMLFile in a tab method?
    Thanks.

    Angular 2 Tab and Treeview component #89583

    Ivo Zhulev
    Participant

    Hi junior,

    You must be able to add any html through the content argument.

    Just get the html you need, assign it to a variable and then set the variable as the content argument.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.