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
4.6 has a problem with passing null to getGridRowById
21/02/2014
15:27
Avatar
jhickstap
New Member
Members
Forum Posts: 1
Member Since:
21/02/2014
sp_UserOfflineSmall Offline

After getting the new version 4.6 yesterday I was testing to make shore the changes did not break my grids. When Firebug start saying  rowid was null at Line 2961 in the file jquery.jqGrid.js. After looking tracking down this was being pasted form  the following line 3019:

$( $($t).jqGrid('getGridRowById', $t.p.selrow) ).removeClass("ui-state-highlight").attr({"aria-selected":"false", "tabindex" : "-1"});

This only happens when there is no selected row in the grid so that would mean that no row is higlighted at this time. The fix I did was to place this line in an if statment to check to see if $t.p.selrow is not null which works fine. 

This problem does not brake either way but the fix I done stops in this case a null geting pasted to the getGridRowById.

Jonathan Hicks

24/02/2014
11:58
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. Fixed.

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:
15 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