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
How to popular Form modal dialog with custom information
02/08/2009
17:20
Avatar
sandy
Member
Members
Forum Posts: 7
Member Since:
02/08/2009
sp_UserOfflineSmall Offline

In each of my rows there there is a column that is a link which is clickable.  I would like when the user clicks on that link to trigger the modal dialog box form.  I would like the modal form to display some information which is not editable (id like to run my own sql select query here) except for the column in the database which color codes my table.  So only one thing is editable and it does not appear in any of the cells in my grid, it only color codes the rows a certain way depending on its value in the database.  So I need to be able to run my own query in the modal dialog and edit something which i cannot actually declare in the colModel since it does not exist in there.

Should I try to use the jqGrid Form Edit for this or this really not the correct usage?  I don't know if there is some way to customize the information that gets brought up in the form instead of only being able to declare editable items in the colModel.

02/08/2009
17:22
Avatar
sandy
Member
Members
Forum Posts: 7
Member Since:
02/08/2009
sp_UserOfflineSmall Offline

I meant fo rmy topic to say "populate" not popular.  Hopefully one of the admins can fix this so it can be useful.

02/08/2009
21:17
Avatar
sandy
Member
Members
Forum Posts: 7
Member Since:
02/08/2009
sp_UserOfflineSmall Offline

Also, one thing that could solve my problem is that I want to display the information from the Grid into the Form but not have it editable so that the user can still see the information all the information without having to move the modal dialog box out of the way to refer back.  So id like all the information from the row in the table to be visible in th modal dialog form box but some rows editable and some not.  Any way this is possible?

04/08/2009
02:20
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Check the docs

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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