Re: drag/drop after sort



* Dan Espen <dane mk telcordia com> [2004-12-31 17:17]:
The problem I have is after I sort by clicking on a column
header, I can no longer drag/drop rows to rearrange them.

I'll wax theoretical here: you can't DnD because sorting columns
affects the display, not the model. The order you see on screen
after you click a column header is not the order the data
internally has, so DnDing rows in that case wouldn't make any
sense. What you want to do is register handlers for clicking
headers which actually sort the model rather than just changing
its display.

Now someone who actually knows what they're talking about can
come out and call me an idiot. :-)

Regards,
-- 
Aristotle
"If you can't laugh at yourself, you don't take life seriously enough."



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