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
Use of formatter in colmodel breaks subgrid
25/02/2009
12:37
Avatar
Jim P
Member
Members
Forum Posts: 102
Member Since:
29/01/2009
sp_UserOfflineSmall Offline

My grid has a subgrid as a grid and when I added the formatter: 'select' it breaks the subgrid data from showing.  The subgrid headers do show.

Jim

26/02/2009
21:16
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello

What breaks? Could not help if so little info. Be a more specific. If switch to formatter of type select the data returned from server should be changed to accept the key, but not the name.

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.

27/02/2009
08:40
Avatar
Jim P
Member
Members
Forum Posts: 102
Member Since:
29/01/2009
sp_UserOfflineSmall Offline

Tony,

I have a grid with the subgrid as grid working.  Everything is fine.  If I take one of the columns of the column model and add the formatter property: select and formatoptions {url '', showAction:'show'}.

Then:

When I click the +/- toggle to display the subgrid,

Only

the subgrid heading is displayed and none of the subgrid data rows.

The column that is the key for for the subgrid toggle is not the same column that I placed the formatter property on.

thanks, Jim

28/02/2009
13:26
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

This is wrong. Formatter of type select is a special property for the selects - to use the key instead of name from the server. Refer to docs what is this. I see showAction property - this is used not for type select but for showlink

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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