Hi there,

The sortables represent a very, very generic and flexible way to  
easily add "sortable" behaviour to a list of elements. It's not  
optimized for performance with huge numbers of items, so you probably  
need to investigate a solution that's more specifically optimized for  
your needs.

For example, if the document isn't changing (like new nodes added or  
positioning changes) while dragging and reodering occurs, you easily  
improve performance by caching the positions of the sortable items in  
your code (this will probably provide more than enough extra  
responsiveness).

If someone is up to it, such a behaviour could probably made into  
sortables/draggables with some kind of option.

Best,
Thomas

Am 18.10.2006 um 17:57 schrieb Andrei:

> About the performance:
>
> I don't think it will be minor; creating a sortable with 80 items
> already makes the browser hang for a while so anything that prevents
> that from happening more than once is welcome (especially since my
> lists may have hundreds of items).
>
> Regards,
> Andrei
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to