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
Display Form without grid
Tags: form
29/07/2011
17:04
Avatar
AlabamaPaul
Alabama, U.S.A.
New Member
Members
Forum Posts: 1
Member Since:
21/06/2011
sp_UserOfflineSmall Offline

Thanks for a great plugin!

I am using jqGrid extensively in my application.

One of the tasks I am using jqGrid for mainting users in my application. An admin can see all users, and I use the nav toolbar to allow an admin to edit, add, delete etc.

A non-admin can only update their user information (name, password, email, etc.).

My preference is to not show any part of a jqGrid, but to direcly invoke the edit dialog with the user's information and a similar colModel that I use for the admin jqGrid.

Is there any way to do this ?

If not, is there any way to ONLY show the user's record in the jqGrid ?

Thanks,

Paul

03/08/2011
18:33
Avatar
Rukbat
USA
Member
Members
Forum Posts: 8
Member Since:
28/07/2011
sp_UserOfflineSmall Offline

You can define the grid in a function, then only call the function for admins.  Or load the grid to start, but with no data definition, so 0 rows are returned.  You can set the height of the grid in loadComplete, so that it's high enough (or full height regardless of the number of rows returned) for the data, but define it as 0 to start, so no data could be shown.  (The header and footer will show, just no space for the data rows.)

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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