Premium support for our pure JavaScript UI components


Post by jack sheldon-reid »

From what I can tell theres no public solution to have a 3 region grid with both a locked and resizable region at the same time. The regionResize feature of the Bryntum Grid enables the resize of all regions on the grid; in our case we would like the ability of the left region to be resizable and the right region locked.

The private configurable contains a variable called resizable which is documented as:

/**
             * Set to `false` to prevent this subgrid being resized with the {@link Grid.feature.RegionResize} feature
             * @internal
             * @config {Boolean}
             * @default true
             */
            resizable : null,
            

The functionality described seems to match what we are looking for. Would it be possible to request this functionality?


Post by marcio »

Hey jack sheldon-reid,

I attached one screenshot just to confirm that we understand correctly, is that the behavior that you suggested??

Attachments
Screen Shot 2022-10-06 at 16.26.49.png
Screen Shot 2022-10-06 at 16.26.49.png (48.76 KiB) Viewed 168 times

Best regards,
Márcio


Post by jack sheldon-reid »

Yes that's what I had in mind. With that "Not resizable" region being a fixed width


Post by alex.l »

What about just set https://bryntum.com/docs/gantt/api/Grid/column/Column#config-resizable to false for columns you don't want to be resizable?

All the best,
Alex


Post by jack sheldon-reid »

The issue is even if the columns are not resizeable the region they are in can still be resized. In this instance it would be preferable if that regions resize bar could instead be locked. Like in the instance when regionResize is false, with the left one in the condition where regionResize is true.


Post by marcio »

Hey jack sheldon-reid,

I created a feature request ticket for this https://github.com/bryntum/support/issues/5381

Best regards,
Márcio


Post Reply