On Jan 8, 2011, at 11:30 PM, OKB (not okblacke) wrote:
> I just noticed that I can't do multi-column sorting in the
> obvious way in a dGrid. What I'd like to be able to do is to click
> several column headers, one after another, to sort cumulatively on each.
> So if I click to sort by FirstName and then LastName, I should get the
> rows ordered by LastName and within that by FirstName. This doesn't
> work, though: each sort seems to apply "from scratch", instead of
> subsequent sorts applying to the results of earlier ones.
>
> Is there any way to get the desired behavior?
No, not at the moment. The current sort routine, as you've noticed,
only sorts on the clicked column.
It would be interesting to come up with something like that, perhaps
keeping the current behavior when clicking on columns, but doing a cumulative
sort when shift-clicking, in the way that shift-clicking in a text control
extends the selection instead of simply setting it.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]