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
Grouping fields in edit form
04/04/2012
17:42
Avatar
Tylla
New Member
Members
Forum Posts: 2
Member Since:
04/04/2012
sp_UserOfflineSmall Offline

It is possible to group some fields in the edit form?

I would like to group some fields together, give them a summarizing name and give the group some different background color and maybe even border so the user can navigate more easily.

Suppose I have 4 entries in the colModel:

name address title income

I would like to show it in the edit form like:

Personal:---------- | name [ ] | | address [ ] | ------------------- Business:---------- | title [ ] | | income [ ] | -------------------

where the fields belonging to the Personal group/category would have - let's say - light green background and fields in the Business group would have light red background.

The difficulty is that there are lots of fields and I wouldn't want to give them background color on a one-by-one basis. And if there are groups then I could even use some collapse jQuery plugin to let the user to hide some of the groups.

It is possible to group some fields in the edit form?

I would like to group some fields together, give them a summarizing name and give the group some different background color and maybe even border so the user can navigate more easily.

Suppose I have 4 entries in the colModel:

name address title income

I would like to show it in the edit form like:

Personal:---------- | name [ ] | | address [ ] | ------------------- Business:---------- | title [ ] | | income [ ] | -------------------

where the fields belonging to the Personal group/category would have - let's say - light green background and fields in the Business group would have light red background.

The difficulty is that there are lots of fields and I wouldn't want to give them background color on a one-by-one basis. And if there are groups then I could even use some collapse jQuery plugin to let the user to hide some of the groups.

05/04/2012
10:35
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Currently this feature is not available or at last adding such functionality requiere to use fsome events and knowledge of the structure of the edit form.

We plan in the next major release to introduce a templating in  form editing.

In this case you can do custom forms.

Kind 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.

13/04/2012
18:52
Avatar
Tylla
New Member
Members
Forum Posts: 2
Member Since:
04/04/2012
sp_UserOfflineSmall Offline

tony said:

Hello,

Currently this feature is not available or at last adding such functionality requiere to use fsome events and knowledge of the structure of the edit form.

We plan in the next major release to introduce a templating in  form editing.

In this case you can do custom forms.

Kind Regards


Thank you for your answer.

I finally solved my problem by modifying the HTML of the edit form in the beforeShowForm event handler and by applying some styles to the rows in the edit form one-by-one. Not a beautiful solution, but works. :)

It would be awesome if the grouping available in the grid heading could go into the edit form too. This way one setting would eliminate two needs.

Anyway I'm looking forward for the new version of this awesome program. 😉

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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