Declined
Last Updated: 25 Sep 2024 11:24 by ADMIN
Peter
Created on: 25 May 2022 15:48
Category: Grid
Type: Feature Request
3
Fixed width for a grid column, remaining columns to autosize.

   So what I propose is a fixed width for a column of the grid (and locked) with the remaining columns auto-sizing.

In my situation, I have an action switch button where the client can delete a row, edit a row etc but the action code dropdown column needs to ALWAYS be the same width.  The rest of the columns should automatically size based on the existing behaviour.

   Now I have tried using the autosize for just that column, but I have to render the grid first, then run the autosize (which gives a fun show of resizing to the user) then all the columns become fixed width, but the vertical scroll bar doesn't move and stays in its initial position.

 

 

2 comments
ADMIN
Dimo
Posted on: 25 Sep 2024 11:24

Hi everyone,

We are closing this public item due to lack of enough information and inactivity. If we receive the requested details, we can reopen the request. I can add a few comments:

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Svetoslav Dimitrov
Posted on: 01 Jun 2022 11:36

Hello Peter,

You can take advantage of the AutoFitColumns(IEnumerable<string> ids) method in order to autofit multiple columns. In your case, you can autofit all columns but the one with the Action switch. It would remain the same static width as set in the markup of the component.

Does this method fulfill the needs of your application?

Regards,
Svetoslav Dimitrov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.