Uiinfrastructure API Docs  
 

SortedMetaDataListModel.InitializeMetaDataList Method 

Initializes the expandable meta data list. This list keeps track of 2 kinds of data, visible data and non-visible data. Most of the inputs to this method are arrays of the same length as the number of visible columns (I.E. Columns that display and need a column header). The exception is the column visibility array, which should be the same length as the number of total columns (data + visible). The data in the visible columns will be used to sort the rows, and will be displayed by default. This data should be Strings. Use a custom List View to display different values. All the visible columns should come first, and then the data only columns should come afterwards. This helps us to sort correctly. Non-visible column data can be of any object type.

public virtual void InitializeMetaDataList(
   string _sListTitle,
   string[] _sColumnHeaders,
   string[] _sColumnWidth,
   bool[] _bEnableSort,
   int _nDefaultSortColumn,
   int _nTotalColumns,
   int _nListKey
);

Parameters

_sListTitle
List title.
_sColumnHeaders
The titles for each visible column
_sColumnWidth
The numeric width for each visible column (not percentage width). If left null for a column, that column will recieve an equal percentage of the remainder (100%).
_bEnableSort
Enable sort for each visible column
_nDefaultSortColumn
The zero based column id for the default visible column to sort by.
_nTotalColumns
_nListKey
In case you have multiple Expandable Lists on the same DP, they should have a different key (otherwise, just set it to 1).

See Also

SortedMetaDataListModel Class | com.plumtree.uiinfrastructure.expandablelist.multicolumnlist.sortedmetadata Namespace