Skip to content

piOrdering - cWebList

Defines the index used to order the rows of a data aware grid

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer piOrdering
Access Type Syntax
Read Access: Get piOrdering to IntegerVariable
Write Access: Set piOrdering to IntegerVariable/Value

Description

The piOrdering property provides a way to set the index number used to order the grid rows.

It is not recommended that you set this property to control ordering. Use the piSortColumn property instead. If further customization is required, use IndexOrder.

Controlling Index Order

When working with data-aware lists, follow these guidelines for controlling index order:

  1. Use piSortColumn to control index order

  2. Always set an initial piSortColumn value

  3. If you need to further control index order, augment the IndexOrder function

  4. Do not set these properties: cWebList piOrdering cWebColumn piDefaultIndexDataDictionary Ordering See Indexes and Ordering with Data Aware cWebLists for a more complete description of this process.