Subject Re: [IBO] Multiple column sorting
Author Alfred Seetoh
How about the following:

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, James Chua <james_027@t...> wrote:
> Hi Alfred
> To do a multiple column sorting just add the column that you want
like this.
>
> originally you have
> Company=coy_name; coy_name desc;
>
> for multi column ... lets say you want to sort first by the company
type
> and its name your order link will be
>
> Company=companytype,coy_name; companytype desc, coy_name desc;