Subject Re: Multiple column sorting
Author Alfred Seetoh
Pls ignore my 2nd question, I found their explanations in the help
file. Actually I also found out how I can do multiple column sorting
by manipulating OrderItems --> Two columns=COY_NAME, CONTACT_PERSON.

I wanted to implement a grid with probably more than 3 sorting
columns. If the user clicks column1, then column1 will be sorted.
Then when the use clicks column2, then the order sequence will be
column1 followed by column2, and so on and so forth. It'll be
difficult for me to create all permutations, so does anybody have a
good way to achieve this?

Another question is: say I click on column1 once, it's sorted asc, I
click another time, it's sorted desc, I click the third time, it's
sorted asc again. Is there anything I can do after the third click,
column1 is not sorted anymore?

--- In IBObjects@yahoogroups.com, "Alfred Seetoh" <cwseetoh@s...>
wrote:
> I followed the sample to implement sorting in a grid, but I have no
> idea how to do multiple column sorting.
>
> The other thing I don't understand is the format of the
OrderingItems
> (Eg. Company=COY_NAME;COY_NAME DESC) and OrderingLinks (Eg.
> COY_NAME=ITEM=1) properties. Why must they be in the ???=???
format?
> What does the portion before and after the '=' represent? Sorry to
> ask such a question, but I reckon if I can't understand what they
> mean, I won't be able to use them effectively.
>
> Alfred
> Software Engineer