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
custom jqGrid distribution
12/01/2009
17:16
Avatar
griduser
New Member
Members
Forum Posts: 1
Member Since:
12/01/2009
sp_UserOfflineSmall Offline

We are evaluating a few javascript frameworks and were looking at the grid widget offered by dfferent frameworks.

We are using jqGrid as a part of jquery evaluation.

We are using subgrid with editable cells. So there are certain columns in the subgrid that need to be made editable.

The subgrid rows are made editable by clicking a button similar to 'Row Editing' -> 'Custom Edit'  example that you have in the jqGrid demos.

At a given point in time, only one sub grid row needs to be editable (there might be several rows in a subgrid).

 I had to modify grid.inlineedit.js to pass the subgrid id along with the row id so that I can 'restore'  'other' subgrid rows that were made editable by the user.

if( typeof oneditfunc === “function”) { oneditfunc(rowid,this.id); }

I also don't want to fire a server side call on edit of a sub grid cell. So i commented out that part as well.

Now I'm not sure how to build the file “grid.pack.js” with my changes.

 I ran JSMin on the modified grid.inlineedit.js . But I'm not able to proceeed further.

Can you please provide instructions on how to build a lean and mean jqGrid distribution with my changes. 

Your help is greatly appreciated.

thanks,
Karthik

14/01/2009
08:33
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I use Dean Edwards packer. Also making packed version is not travial task. The first that you should do is - when you modify the code to be a sure that you use strick language writting - that is after every line you should write ; where aplicable and etc. With other words if this is not statisfied you can not create a packed version. More you can find on the web

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:
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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information