This is a migrated thread and some comments may be shown as answers.

[Solved] Fit column width to content

3 Answers 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Oleg
Top achievements
Rank 1
Oleg asked on 23 Mar 2012, 03:08 PM
Hello,

I'd like to be able to double-click between column headers (on column resize bar) and have the left hand column resize automatically to fit its content. This behavior is pretty much standard for grids. AFAIK currently it's not available for MVC grid. Do you have plans to implement it?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Accepted
Petur Subev
Telerik team
answered on 28 Mar 2012, 11:05 AM
Hello Oleg,

Thank you for contacting us and the sharing your suggestion. I have added it to our ToDo list as an item into our Public Issue Tracking System. You can check its progress and vote for it here.
As a small sign of our appreciation I have updated your account points.

Kind regards,
Petur Subev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Oleg
Top achievements
Rank 1
answered on 03 Apr 2012, 12:27 PM
Thanks Petur, much appreciated!
0
karthikeyan
Top achievements
Rank 1
answered on 15 Jun 2012, 04:28 PM
Is there any update on the issue?

I am using the telerik for asp.net mvc4. But unfortunately still the column width is not auto fitting to the content. My scenario is
  - Fluid html layout.
  - First column (title) should have maximum length
  - If the number of characters not fit, then the remaining characters should be hidden. No-wrap and overflow:hidden.
  - All other columns should fit with content size.

Any help will be strongly appreciated.
Tags
Grid
Asked by
Oleg
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Oleg
Top achievements
Rank 1
karthikeyan
Top achievements
Rank 1
Share this question
or