Forum


22:16

04/12/2009

Hi:
I'm trying to accomplish this functionality, I'm not sure whether it's possible. What I need is to display the grid data in a vertical manner, like this:
Field1: Value1
Field2: Value2
Field3: Value3
Instead of:
Field1 Field2 Field3
Value1 Value2 Value3
Is there a simple way to achieve this? Thanks!
18:47

Moderators
30/10/2007

Hello,
Direct is not possible, but you can construct the grid and use viewGridRow to achieve this - see demos.
Best 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.
21:16

11/11/2010

I actually have this same requirement. I have some tables that only have one row per parent record and have a lot of fields, making it impractical to use the horizontal grid.
I tried to figure out how to do it using the hints you gave but am kind of stumped. Can you offer anymore insight into how to accomplish this?
04:27

08/06/2010

I would go with the 2 column format and parse all your data fields as text in the format that you want the data displayed. If you are going to provide editting then you will have to convert all your data back to the correct data type before updating. If that is the case, I would add a 3rd column with the data type as a hidden column, to help in the data validation process.
Regards,
Ben
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66