Uiinfrastructure API Docs  
 

PTSortedArrayWrapper.Initialize Method 

MES- Initialize sets up this object with the data it needs to return items, as well as to perform sorts, etc.

public virtual void Initialize(
   int[] arrColumnIDs,
   object[][] arrData,
   int[][] arrSort,
   bool bRequiresSort
);

Parameters

arrColumnIDs
contains the Property IDs for each column in arrData. The size of arrColumnIDs should be equal to the number of columns in arrData.
arrData
contains the actual data to be stored and manipulated. The index convention matches the Plumtree server- the first index is column, and the second is the row, like arrData[iColIndex][iRowIndex]
arrSort
is a 2D int array of PropertyIDs to sort by. It should contain a column for each sort. The first row holds the PropertyID, and the second row holds the sort direction, PTSAW_SORT_ASCENDING or PTSAW_SORT_DESCENDING
bRequiresSort
indicates if arrData is already sorted as indicated by arrSort. If the client knows that the data is already sorted, we can skip the sort, and we can also optimize access.

See Also

PTSortedArrayWrapper Class | com.plumtree.uiinfrastructure.arraywrapper Namespace