Subject | Re: Sort Order in a Grid |
---|---|
Author | Marco Menardi |
Post date | 2002-11-01T09:53:48Z |
Not sure to understand what you are asking (my poor english), but if you want to click the name column and having the dataset sorted by NAME,FIRST_NAME try this:
OrderingItems:
NAME=NAME,FIRST_NAME
FIRST_NAME=FIRST_NAME
OrderingLinks
NAME=ITEM=1
FIRST_NAME=ITEM=2
So when you click upon the "name" column of the grid, the first item of OrderingItems is used, that sorts by NAME,FIRST_NAME.
regards
Marco Menardi
OrderingItems:
NAME=NAME,FIRST_NAME
FIRST_NAME=FIRST_NAME
OrderingLinks
NAME=ITEM=1
FIRST_NAME=ITEM=2
So when you click upon the "name" column of the grid, the first item of OrderingItems is used, that sorts by NAME,FIRST_NAME.
regards
Marco Menardi
--- In IBObjects@y..., "Florian Hector" <FHector@w...> wrote:
> I all,
>
> how can I influence (refine) the sorting behaviour in an IB_Grid. In a grid
> I use to show NAME an FIRST_NAME some entries with the same NAME but
> different FIRST_NAME are shown with the FIRST_NAME unordered. Ordering items
> of the query is set to use NAME=NAME (first) and FIRST_NAME=FIRST_NAME
> (second). I tried playing with the refinement setting but any value other
> than -1 results in a grid not showing anything.
>
> Any tips?
>
> Florian