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
Toggling Column Visibility via showCol/hideCol methods
21/02/2011
17:40
Avatar
rteising
New Member
Members
Forum Posts: 2
Member Since:
11/07/2009
sp_UserOfflineSmall Offline

I recently implemented some java script code to allow the user to show/hide columns based on their preference -- I tried the built in user module for Showing/Hiding columns, but I had problems with that because we have put hard line breaks in the column headers using <br/> tags, and as such, the column labels in the Show/Hide dialog were displayed with line breaks.

So, I started to implement my own Show/Hide dialog (it wasn't too difficult), and now I notice that when I toggle the visibility of a column in the grid (using the methods hideCol/showCol), the width of the column whose visibility is being toggled slowly gets smaller.

I reverted my code back to the built in user module for Showing/Hiding columns, and this exhibits the same behavior.

I'm using version 3.8.2 of the jqGrid library with jquery-1.4.2.min.js.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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