Re: drag/drop after sort

On Dec 31, 2004, at 8:57 PM, Dan Espen wrote:

muppet <scott asofyet org> writes:
Can you post some code so that i can play with something resembling
what you have?

Here is a context diff for examples/ that makes
the first 2 columns sortable if you check the sortable box:

If you check both reorderable and sortable then click one
of the first 2 columns, you'll see the problem.


there ought to be a way to get the list out of sorted mode, but given what you've described, wanting to use the sort as a starting point for further reordering, that seems like the wrong way to go... so i hacked up something like what i described in the last message: clicking a column header simply reorders the data in the simplelist itself, bypassing all of the TreeSortable stuff. patch against clean attached. i tried to comment heavily, but i'm a little hung over from the new year, so let me know if it's not clear. ;-)

Description: Binary data

Without treatment, a common cold will last about seven days.
With treatment, it will last about a week.
  -- conventional wisdom

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]