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
Add/Edit fields not in grid
16/10/2010
05:22
Avatar
nickelj
Member
Members
Forum Posts: 28
Member Since:
15/10/2010
sp_UserOfflineSmall Offline

Hiya,

Is it possible to add additonal fields (from the MySQL database via JSON) to the form when bringing it up for editing or adding?

Or can you only show the fields on the forms for the columns that are part of the grid? 

If you can do it....any examples?

Thanks!

Jim

16/10/2010
06:09
Avatar
linchat
Member
Members
Forum Posts: 10
Member Since:
13/10/2010
sp_UserOfflineSmall Offline

Yes, you set the item to hidden. The in the editrules you set edithidden:true

Do a doc search for editorules it is easy though, even I figured it out. 🙂

        {
            name: 'USER_ID',
            index: 'USER_ID',
            width: 75,
            hidden: true,
            editable: true,
            edittype: 'text',
            editoptions: {
                disabled:true
            },
            editrules: {
                edithidden: false
            }

16/10/2010
06:22
Avatar
nickelj
Member
Members
Forum Posts: 28
Member Since:
15/10/2010
sp_UserOfflineSmall Offline

Hey thanks for the reply.

I am not sure that that is quite what I meant.

In my grid I would have ID, Name and Address...but when the row is clicked and the edit form comes up I also want to let them edit the entire record including City, Prov/State, County, Notes etc....and these fields are NOT part of the grid.

Are you saying that the fields need to be part of the grid, only hidden for this to work?

Jim

29/10/2010
03:59
Avatar
Caroline
Australia
Member
Members
Forum Posts: 4
Member Since:
27/10/2010
sp_UserOfflineSmall Offline

You probably found out already but for others, yes, it is what you meant.

You define all the fields in the grid, some visible, some hidden and change the editrules for those hidden in the grid to see them in the form.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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