dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Need help getting this to work

  1. #1
    Join Date
    Feb 2005
    Posts
    42

    Need help getting this to work

    I downloaded dragtable widget here: http://www.danvk.org/wp/dragtable

    I am using only the headers as a kind of column configuration tool for CSV
    file import configurations.

    The problem I'm having is when I read the values in from the database, it
    doesn't restore the layout to the stored layout. It seems that using the
    moveColumn function is where the problem lies. If I have a layout where
    column 2 is moved to column 5, when I try to restore that layout, column 2
    is moved to column 5, just fine, but when I am going to move column 5, it
    takes the old column 2 and moves it to the place that the old column 5 was
    supposed to be. Try the code and you'll see what I mean.

    Here is a demo url: http://www.listinventory.com/dragtable/draggable.html

    I have hard coded a user_id in the userFileFormat script so you will get/set
    valid values. Instructions are shown in the HTML.

    The ajax part is not the problem, it works exactly like I want to store and
    retrieve the correct values. The problem is in the dragtable code in how it restores the positions.

  2. #2
    Join Date
    Feb 2005
    Posts
    42
    Bumping to try to get an answer...

  3. #3
    Join Date
    Feb 2005
    Posts
    42
    I have decided to use a jQuery draggable/sortable from one of their demos.

    Works exactly like I need it to.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles