LayoutModeOptionsCollection / PartialLayoutModeOptionsCollection
Description
A LayoutModeOptionsCollection represents a collection of key/value pairs, where key is a string used to identify the LayoutMode on which to apply the LayoutModeOptions. It extends ResourceCollection<T>.
Properties
|
Property |
Element |
Type |
Description 5 |
|---|---|---|---|
|
key |
|
string |
A string corresponding to one of the |
|
|
value |
A LayoutModeOptionsCollection can be provided to the DataGrid through the DataGridOptions.
Example
const LayoutModeOptionsCollection = {
"paging": {
type: "paging",
itemsPerPage: 50
}
};
datagrid = new Xceed.DataGrid("dataGridContainer", {layoutMode: "paging", layoutModeOptions: LayoutModeOptionsCollection});
Remarks
A partial type/interface is an object in which properties are optional.
Need help? Contact us!