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
DOM Droppings (for lack of a better word)
23/06/2010
02:59
Avatar
squid
Member
Members
Forum Posts: 36
Member Since:
19/05/2010
sp_UserOfflineSmall Offline

So I've been using jqGrid for a bit now, and noticed something that seems "left behind" by jqGrid, and up until now, I was not sure what it was.  I open a jQuery dialog with a jqGrid in it, and after I close and remove the dialog, there's something still left in the DOM.  It had the id of 'alertmod' and today I found out what it was.  Apparently, there's the "Warning" dialog with the body that says, "Select a row."  Somehow, it seems that this dialog's DIV is not removed when the jqGrid is removed.  Could this be a bug in jqGrid or do you think it's something that I'm not freeing up?  I could forcibly remove it if necessary, but I'd rather see if there's an issue about this and then do it the "right' way (even if the "right" way turns out to be that I remove it from the DOM myself by its ID).

Part of me is wondering, after looking through the jqGrid code, if this isn't something that is being manifested by me using a TreeGrid control that has a pager.  Since the pager itself doesn't work (or display) in a TreeGrid, maybe this artifact is somehow being left behind.  I do put buttons in the pager DIV for performing actions, so I require the bar, but the pager might be what is causing the issue.

Thanks.

23/06/2010
03:30
Avatar
squid
Member
Members
Forum Posts: 36
Member Since:
19/05/2010
sp_UserOfflineSmall Offline

So for now, I put the following in my loadComplete function:

$("#alertmod").remove ();

which seems to have solved the issue.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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