piPosition - cWebColumn

Indicates the current position of the column in the list

Type: Property (Web Property)

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 { WebProperty=Client }
 Property Integer piPosition

Web Property Read Access: WebGet piPosition to IntegerVariable
Web Property Write Access: WebSet piPosition to IntegerVariable/Value

Read Access: Get piPosition to IntegerVariable
Write Access: Set piPosition to IntegerVariable/Value


Description

Indicates the current position of the column in the list.

This property can also be used to change the column position programmatically.

The system is very forgiving, as it creates a little map in which it will first put the positions in order. Let's take a third (object) column with piPosition 1. In that case, it goes from 0 and finds that there is no column specified with that position; as a column is available, it will add the first one available without a piPosition set. Afterwards, it finds the third column with piPosition 1 and puts it at that position. If the piPositions don't add up, they will fall in line accordingly. This is also is the case with multiple columns having the same piPosition.

Important to note, pbRender being False doesn't affect the piPosition.


About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.