Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Limit depth of Sortable Tree
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kevin  
View profile  
 More options Jul 7, 10:37 am
From: Kevin <kevingal...@gmail.com>
Date: Tue, 7 Jul 2009 07:37:05 -0700 (PDT)
Local: Tues, Jul 7 2009 10:37 am
Subject: Limit depth of Sortable Tree
I'm attempting to make a list of grouped terms.  I'm approaching this
by creating a Sortable object as a tree, so the user will be able to
drag terms into and out of groups, as well as reordering the groups
themselves.  I do not want the user to be able to drag a group into
another group.

I was wondering if there was an option (or a workaround) for limiting
the depth of a Sortable tree.

Another idea I had about solving this was to make the Droppable
'group' elements only accept terms (since accept is an option for the
Droppable class).  Although, since creating the draggable and
droppables is all done when calling Sortable.create, I'm not sure how
I can modify the options for individual elements.

Any ideas?

Kevin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google