A single developer license allows 1 developer to use the components for development, obtain free updates & support for a full version cycle of the product. The license is not transferable.
A single developer license allows 1 developer to use the components for development, obtain free updates & support for 1 year. The license is not transferable.
A single developer license allows 1 developer to use the components for development, obtain free updates & support for 2 years. The license is not transferable.
A small team license allows 2 developers within the company to use the components for development, obtain free updates & support for a full version cycle of the product. The license is not transferable.
A small team license allows 2 developers within the company to use the components for development, obtain free updates & support for 1 year. The license is not transferable.
A small team license allows 2 developers within the company to use the components for development, obtain free updates & support for 2 years. The license is not transferable.
A site license allows an unlimited number of developers within the company to use the components for development, obtain free updates & support for a full version cycle of the product. Developers can be added at any time during the full version cycle.
A site license allows an unlimited number of developers within the company to use the components for development, obtain free updates & support for 1 year. Developers can be added at any time during the 1 year period.
A site license allows an unlimited number of developers within the company to use the components for development, obtain free updates & support for 2 years. Developers can be added at any time during the 2 year period.
TAdvStringGrid
Example 18 : using custom sort sequences
One property and one method make
it possible to change the normal sort sequence, ie. from left to
right, to any sequence you like. When using QSort or when
clicking on a column header, the grid is sorted primarily on the
sortcolumn or the column that is clicked on. When items are equal
in the sorted column, subsorting goes to the second column (on
the right of the primary sort column) etc... Often, this
behaviour is not wanted, and therefore, the method QSortIndex and
the property SortIndexes have been introduced. The SortIndexes is
a list of integers and holds the column index sequence for the
sort. Ie, if primary sort column should be 2 and secondary sort
column 5 and third sort column 1, this list should hold : 2,5,1.
The interface to this list is simple. SortIndexes is derived from
TList, so the methods Clear, Add can be used. Setting the sort
sequence above results in:
AdvStringGrid.SortIndexes.Clear; //clear any previous sequences
AdvStringGrid.SortIndexes.Add(2); //set primary sort column
AdvStringGrid.SortIndexes.Add(5); //set secondary sort column
AdvStringGrid.SortIndexes.Add(1); //set third sort column
The routine in the sample
application, to select a few custom sort sequences results in: