Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
fixed column width when autowidth=true
08/09/2009
09:13
Avatar
jamiro
Member
Members
Forum Posts: 10
Member Since:
08/09/2009
sp_UserOfflineSmall Offline

Hi Tony, great work BTW

I think it would be really nice if a user could determine if a column resizes when autowidth is set true. This way the rest of the columns that hasn't got the width parameter would occupy the remaining space.

For example I don't need the ID column to resize and I want it to be 50px wide, but the TITLE column should use the remaining space if no width is set in colmodel and autowidth is set to true

It would be really easy to implement and it would be a cool feature

10/09/2009
03:57
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Do you have try shrinkToFit : false - this way all the width will remain as setted in the colModel

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

10/09/2009
08:48
Avatar
jamiro
Member
Members
Forum Posts: 10
Member Since:
08/09/2009
sp_UserOfflineSmall Offline

yes i understand how shrinktofit works but i want one row to resize when autowidth=true and others not

11/09/2009
03:03
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Will see what I can do - do not promiese.

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

11/01/2011
20:00
Avatar
McCulloch
Toronto, ON, CA
Member
Members
Forum Posts: 6
Member Since:
11/01/2011
sp_UserOfflineSmall Offline

This would be both cool and useful. I have a grid contained within a panel (using the UI.Layout plugin). When the panel is resized, the grid resizes. The problem is that some columns contain essentially fixed width data, such as dates and really should not be resized, while other columns contain data that should be resized (such as title information formatted with the elipsis).

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
69 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information