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
Several questions from a noob user
02/12/2009
11:54
Avatar
JiheL
France
Member
Members
Forum Posts: 19
Member Since:
02/12/2009
sp_UserOfflineSmall Offline

Hi all

I am discovering jqGrid and have some questions which I am unable to find answers in this forum, so I hope I will receive some help from advanced users.

1 - How can I disable the collapse button for the grid in header section ?

2 - How can I dynamically modify header columns of the subgrid ?

3 - How can I set autowidth for the subgrid ?

4 - Is there a way to have only one subgrid expanded, that collapses when I click on another grid row ?

These questions are certainly easy to solve for whose who have experience in JS, which I do not have.

Many thanks in advance for kind help which will be appreciated

Cheers

Jihel

02/12/2009
16:40
Avatar
bernie.blakeney
Member
Members
Forum Posts: 5
Member Since:
27/11/2009
sp_UserOfflineSmall Offline

Hey JiHel,

Off the top of my head I think you can:

1. set the "hidegrid" option to false to remove the collapse button - you need to have a caption for this to work.

2. You set subgrid column headers the same as you would a normal grid.

3. Set "autowidth: true" in your subgrid definition

4. Check out the subgrid demo to see how to expand and collapse subgrids. http://trirand.com/jqgrid/jqgrid.html

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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