Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SortType – PB Docs 2021 – PowerBuilder Library

SortType – PB Docs 2021

SortType

property for PowerScript controls

Applies to

ListView, TreeView controls

Description

The SortType property specifies how items should be sorted. Items
can be sorted alphabetically based on the item names or according to
user-defined rules. If you specify a user-defined or unsorted sort type,
define your sort criteria in the Sort event of the control.

In TreeView controls, each parent item’s children form their own
sorted list. For more information, see the section called “Sorting items” in Application Techniques.

Usage

In a painter

To specify how items should be sorted:

  • Select the desired sort type from the Sort drop-down list on the
    General page of the control’s Properties view.

In scripts

The SortType property takes a value of the grSortType enumerated
datatype. The following line specifies Unsorted for the items in a
ListView.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x