we can add setdefaultorder on both link and border. the problem is
then how is that set up in the headers toolbar...

why dont you take some time and come up with a list of changes you
will need for this and we can come up with a patch.

-igor

On Thu, Jul 24, 2008 at 9:31 AM, Tauren Mills <[EMAIL PROTECTED]> wrote:
> I have a DataView on a page.  At another location on the page, there
> are some OrderByBorder links.  When these are clicked the first time,
> the dataview is resorted by that field in ascending order.  This works
> great for all of the fields except one.
>
> The problem is that I have a "rating" field that I want to have the
> sort default to descending.  So the first time the "Sort by Rating"
> link is clicked, the list is ordered with the records that have the
> greatest rating first.  Right now they sort with lowest first.
>
> Unfortunately, it looks like OrderByBorder, and OrderByLink that it
> uses, have the default sort order hard coded into them.  Any
> suggestions on how to solve this?  Are there other components I could
> use instead?  Or will I need to roll my own OrderByLink/OrderByBorder?
>
> Thanks!
> Tauren
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to