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_Related Related Topics sp_TopicIcon
problem with grouping and autowidth - jqGrid 4.1.2
06/08/2011
14:36
Avatar
webduke
New Member
Members
Forum Posts: 1
Member Since:
06/08/2011
sp_UserOfflineSmall Offline

hello

I have a problem with groups,
when I set the value:
autowidth: true, (I want have 100%)
grouping: true,
groupColumnShow: [false]

then width of the grid is reduced(about 90%) column hidden groupColumnShow.
In version 4.0.0 was all ok.

14/08/2011
12:40
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Not sure what you mean with this.

Try with shrinkToFit option

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.

29/08/2011
16:23
Avatar
Bibendus
Member
Members
Forum Posts: 4
Member Since:
19/01/2011
sp_UserOfflineSmall Offline

Today I updated jqgrid from 3.8.something to 4.1.2 and I found the same issue. I think I found the BUG cause.

It seems that the autowidth calculates the width BEFORE hiding the group column.

In fact if I remove the groupColumnShow : [false] the table returns to 100%, if I keep the option the width is less then 100%

[Image Can Not Be Found]

29/08/2011
18:29
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. It seems to be a problem with grouping module. I will check this issue.

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.

19/09/2011
19:00
Avatar
Bibendus
Member
Members
Forum Posts: 4
Member Since:
19/01/2011
sp_UserOfflineSmall Offline

It seems that the autowidth problem occurs even when hidden columns are used.

In this case if I hide all columns except one, the table width will have the same widthas the case when I decide to show all columns.

The table width is calculated before hiding the columns so the final result is a overlarge table

BTW any ETA on the autowidth bug fix?

13/09/2012
19:11
Avatar
Seb33300
France
Member
Members
Forum Posts: 6
Member Since:
13/09/2012
sp_UserOfflineSmall Offline

Hello,

I'm using jqGrid 4.4.1 and this bug still present.

Any solution to solve it ?

Thanks

14/09/2012
14:25
Avatar
Seb33300
France
Member
Members
Forum Posts: 6
Member Since:
13/09/2012
sp_UserOfflineSmall Offline

I just found the solution :

We only need to set "hidden: true" on the grouped column in colModel

colModel:
       [
        {label: 'Grouped Column', name:'gc', hidden:true},
        {label: 'Other Column', name:'o1'},
        {label: 'Other Column2', name:'o2'},
        etc...
       ]

14/09/2012
14:53
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Just fixed the problem in Git Hub

Thanks.

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
48 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