Last Updated: 24 Oct 2022 10:49 by Supraja
Created on: 24 Oct 2022 10:49
Category: Grid
Type: Feature Request
Grid with Locked columns: Add a property defining the minimum area in which the unlicked columns are visible

The native Grid allows you to lock selected columns inside it. When we have locked columns, these are constantly visible inside the Grid, while the unlocked columns can be horizontally scrolled to see their content. 

The width of the area in which the unlocked columns can be scrolled depends on a combination of the following:

  • The number of locked columns
  • The width of the locked columns
  • The width of the Grid

Having the above, there are some scenarios in which the area where the unlocked columns are displayed can be covered by locked columns or its size can become so small that the Grid data cannot be read.

Some examples of how the area that displays the unlocked column can become invisible or minified in size are:

  • In a Grid with many columns, define many of them as locked
  • In a Grid with resizable columns, resize one or a few of the columns in a way their sum width is bigger than the Grid's width
  • A few Grid columns are locked but the Grid's width is too small

The current Feature request is about a property that defines the minimum width of the area in which the unlocked columns are scrolled. It could be a property like minUnlockedColumnsVisibleAreaWidth. Having this property defined, it should have a bigger priority over the defined column widths. This means that if there is not enough space to display the different locked columns with their pre-defined widths, the locked columns should be resized in a way the minimum visible area for the unlocked columns has enough width to display data.