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
$t is undefined on .getGridParam('selarrow')
20/08/2009
15:50
Avatar
ErebusBat
Member
Members
Forum Posts: 3
Member Since:
20/08/2009
sp_UserOfflineSmall Offline

I have the grid setup and working... it will return data and I can sort on the columns that I expect.  I have multiselect: true and I can select multiple rows; however when I try to do a $("#grid").getGetGridParam('selarrow'); I get a $t is undefined in jquery.jqGrid.min.js.

I just downloaded that grid today using the builder and I am using the jQuery script from that as well.

Please help in tracking down the error.

20/08/2009
16:36
Avatar
ErebusBat
Member
Members
Forum Posts: 3
Member Since:
20/08/2009
sp_UserOfflineSmall Offline

UPDATE: Turns out that it was a typo in my selector, my bad.  But now .getGridParam() is returning undefined for everything (even simple things like URL).

Any ideas on THAT one?

21/08/2009
01:52
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

It seems that you do not included the custom module when you download the grid.

Check what you have downloaded.

Consult the documentation when you use this method which module should be included in the download.

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.

21/08/2009
08:45
Avatar
ErebusBat
Member
Members
Forum Posts: 3
Member Since:
20/08/2009
sp_UserOfflineSmall Offline

Tony,

thank you for your reply.  I downloaded the full package with all options and still got the same result.  The problem was my own stupidity (again).  I had duplicate ids so a DIV and my grid with the same ID.  The selector for my setup was $('table#results') and when I was getting my error it was just $('#results') which was grabbing the div instead.

Apparently I should not have been working yesterday. 

Thank you for your time and response.

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