Configuring advanced features and settings for Data Grid
Configuring Data Grid height
The Data grid height setting controls the height of the Data Grid. The value is entered in pixels and determines how much vertical space the data grid uses in the application.
Use this setting to make the grid tall enough to display the expected number of rows without taking up more space than needed.
Configuring Dynamic component height
By default, the Data Grid uses the value in the Data grid height field as a fixed height. The grid does not change height based on the components around it.
When Dynamic component height is enabled, the Data Grid automatically adjusts its height to match the tallest component next to it. The value in the Data Grid height field is used as the minimum height, so the grid does not become smaller than the configured value.
If the neighboring component is taller than the configured Data Grid height, the grid grows to use the available vertical space. If enough records are available, the data area fills the expanded space and displays more rows.
- In the Data Grid Configuration, click the General Settings tab.
- Switch on the .
- Click .
Configuring column width
The column width setting lets you assign a fixed width in pixels to individual columns, so that important fields get the space they need and narrow fields do not take up more room than necessary.
A fixed column width stays the same regardless of how the Data Grid component or the browser window is resized. Columns without a fixed width continue to share the remaining space as before. End users can still resize columns temporarily at runtime, but the width resets to the configured value the next time the application is opened.
You can set the width by entering a pixel value.
Entering a pixel value
- In the Data Grid Configuration, click the General Settings tab.
- Click the button for the column you have to configure.
- Specify a value in pixels in the Column width field.
- Click .