Sortable tabs in designer

rss

Posted by Sonoma - May 13 ’16 at 08:42

Any way to add this to the designer to have sortable tabs? Then after changed the save take?

 

$(function() {
    var tabs = $( "#fd_tabcontrol-0" ).tabs();
    tabs.find( ".ui-tabs-nav" ).sortable({
      axis: "x",
      stop: function() {
        tabs.tabs( "refresh" );
      }
    });
  });

 

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 2 months 9 days
    #1 by Dmitry Kozlov May 16 ’16 at 02:40

    Your code workd for me. Or do mean you need to save the order of the tabs after saving the form?

  • Sonoma
    Member
    Member for: 7 years 2 months 5 days
    #2 by Sonoma May 16 ’16 at 08:24

    [#1]: Yes, it works for me in the user forms but in the designmode every once in a while we need to swap tabs but end up moving the objects out of a tab, adding the new tab and place the objects back in. It would be nice to sort the tabs manually if we add a new tab or maybe inserting a new tab inbetween 2 existing tabs.

     

    Thanks.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 2 months 9 days
    #3 by Dmitry Kozlov May 17 ’16 at 03:04

    [#2]: Thanks for your feedback. We included this feature to our roadmap, hope it will become available soon. If you have a lot of fields/controls in tabs, you can swap them by exporting form into a file and modifing it in a text editor. Please, read the following thread:

    http://forum.spform.com/forms-designer-for-sharepoint-20/moving-a-tab-33386/

Displaying 1 to 3 of 3 messages