Uiinfrastructure API Docs  
 

PTGrowableSortedArrayWrapper.Initialize Method (Int32[], Object[][], Int32[][], Boolean, Int32)

MES- Initialize is equivalent to the PTSortedArrayWrapper call of the same name

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

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.
iInitialSize
indicates the initial size of the array, if the client wishes to preallocate some rows.

See Also

PTGrowableSortedArrayWrapper Class | com.plumtree.uiinfrastructure.arraywrapper Namespace | PTGrowableSortedArrayWrapper.Initialize Overload List