jQWidgets Forums

jQuery UI Widgets Forums Navigation Tabs Initial tab without content

This topic contains 2 replies, has 2 voices, and was last updated by  tamaraOnt 12 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Initial tab without content #13856

    tamaraOnt
    Member

    Is it possible to create a jqxdata without data? empty?

    I have a panel where I want to put my jqxtab it depens on the selection of a menu.
    Por example, I have a menu with the following options: customers, resellers and orders. When I click in each of this options I want to desplegate a tab, but initially my jqxtab must be empty.

    Do you have some idea how can I do that?

    Thanks.

    Initial tab without content #13863

    Peter Stoev
    Keymaster

    Hi tamaraOnt,

    It is not possible to create jqxTabs without the required structure. You should have at least one LI tag for the tab’s header and at least one DIV tag for the tab’s content.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Initial tab without content #13865

    tamaraOnt
    Member

    Ok…thanks…that’s that I did it. I create with one element, and then, I remove

    <div id='tabs'>
    <ul><li></li></ul>
    <div></div>
    </div>
            $('#tabs').jqxTabs({ showCloseButtons: true ,theme: 'ui-start' });
    $('#tabs').jqxTabs("removeFirst");

    So then, I can add without problems.

       $('#tabs').jqxTabs('addLast', txt, 'Sample content');
    $('#tabs').jqxTabs('ensureVisible', -

    Thanks for your reply

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

You must be logged in to reply to this topic.