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
subgrid resizestop
20/07/2010
13:08
Avatar
michaelg
Member
Members
Forum Posts: 51
Member Since:
10/04/2010
sp_UserOfflineSmall Offline

Hi All,

I'm stuck on a problem and am hoping someone might have an idea how to solve it.

I have a grid with subgrids in it.  Each subgrid off course has its own unique id.

The subgrids have a resizeStop event registered, where I can get the column index and new width, however I can't figure out which of the subgrids had a column resized - since the resizeStop event doesn't provide the grids' id.

Does anyone know a way around this?

Cheers,

Michael

23/07/2010
00:15
Avatar
michaelg
Member
Members
Forum Posts: 51
Member Since:
10/04/2010
sp_UserOfflineSmall Offline

Hmmm perhaps there is a way to have a single global variable, and set its value to the ID of the subgrid when resize starts.

I'm guessing i'll have to modify jqgrid source code to do this though Confused

27/07/2010
02:31
Avatar
michaelg
Member
Members
Forum Posts: 51
Member Since:
10/04/2010
sp_UserOfflineSmall Offline

Just in case someone else has a similar requirement - the solution I have found was to change the jqgrid common js file.

I changed ...

c.resizeStop.call(this,g,d)
... with ...
c.resizeStop.call(this,c,g,d)

... then, i use c in my resizestop function to grab the colmodel

I would have prefered to do this without changing source code, but couldnt figiure it out Laugh

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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