Results 1 to 5 of 5

Thread: change order and sort the list with drag & drop

  1. #1
    coteaz is offline Sugar Community Member
    Join Date
    Feb 2012
    Posts
    37

    Default change order and sort the list with drag & drop

    i would like to change the order of the elements of a list with a drag&drop and then save it; can it be done?

  2. #2
    jmertic's Avatar
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    3,996

    Default Re: change order and sort the list with drag & drop

    John Mertic
    Sugar Community Manager

  3. #3
    coteaz is offline Sugar Community Member
    Join Date
    Feb 2012
    Posts
    37

    Default Re: change order and sort the list with drag & drop

    I'm sorry, but I badly explained

    for example if i have a list of step for a how to module i want to change the order of steps using a drag and drop!

    see the example please

    Name:  Cattura.JPG
Views: 332
Size:  110.1 KB

  4. #4
    jmertic's Avatar
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    3,996

    Default Re: change order and sort the list with drag & drop

    So you are wanting the record to appear in a certain order in the subpanel, right? If so, how about having an order field in the module and then set the default sort to that?
    John Mertic
    Sugar Community Manager

  5. #5
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    1,382

    Default Re: change order and sort the list with drag & drop

    (1) you will need a field int hat related module to keep the sequence. If a step can nonly be assigned to one parent record this can be on the module, if it is n:m then on the relationshiptable.
    (2) Sorting by that in the subpanel will be in a n:m relationship tricky.
    (3) Then you need to custom code the drag and drop functionality. There is nothing like that in the standard.

    christian.

    Quote Originally Posted by coteaz View Post
    I'm sorry, but I badly explained

    for example if i have a list of step for a how to module i want to change the order of steps using a drag and drop!

    see the example please

    Name:  Cattura.JPG
Views: 332
Size:  110.1 KB

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 2012-10-26, 09:02 AM
  2. How to change default sort order in Listview
    By dsuvankar in forum Developer Help
    Replies: 2
    Last Post: 2010-03-19, 07:33 AM
  3. Change sort order of templates
    By nhansen in forum Developer Help
    Replies: 1
    Last Post: 2010-02-18, 05:51 AM
  4. Possibility to change sort order property
    By Lassel in forum Feature Requests
    Replies: 0
    Last Post: 2009-09-14, 01:02 PM
  5. Sugar Web List Sort Order
    By jasonadmin in forum Developer Help
    Replies: 0
    Last Post: 2006-06-25, 11:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •