ContainerHeightCollection
Description
A ContainerHeightCollection represents a collection of key/value pairs, where key is a string (the ContainerType) used to identify the corresponding container height.
For now, only a “default” ContainerType exists in the DataGrid. It is the fallback value when a specific container height is not defined.
The default height of the “default” ContainerType is 40.
Properties
|
Property |
Element |
Type |
Description |
|---|---|---|---|
|
key |
|
The type of container. |
|
|
|
value |
number |
The height of the container. |
Example
In this example, the default height for every container is set to 100. Eventually, it will be possible to set the container height for every container type in the DataGrid.
const options = {
containerHeights: {
"default": 100
}
};
const datagrid = new Xceed.DataGrid("containerId", options);
Need help? Contact us!