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_Related Related Topics sp_TopicIcon
Grid/Page stays greyed out after hitting Delete
27/08/2013
21:41
Avatar
notxas
Member
Members
Forum Posts: 6
Member Since:
15/08/2013
sp_UserOfflineSmall Offline

I am clicking a delete button on a modal form and the form disappears, yet the entire page remains greyed out.  I have searched and searched for a resolution and tried just about everything I found. But, ALAS no success.

Everything else on the page works, I am stumped.

                        onclickSubmit: function (rp_ge, rowid) {
                            // reset the value of processing option to true to
                            // skip the ajax request to 'clientArray'.
                            rp_ge.processing = true;

                            // we can use onclickSubmit function as "onclick" on "Delete" button
                            // delete row
                            $("#delmod" + $grid[0].id).hide();
                            $grid.jqGrid('delRowData', rowid);

                            $grid.focus();

                            if ($grid[0].p.lastpage > 1) {
                                // reload grid to make the row from the next page visable.
                                $grid.trigger("reloadGrid", [{ page: $grid[0].p.page}]);
                            }
                            //return[true,""];  TRIED THIS AS WELL
                            return true;
                        },

Oh and I am using version 4.5.2

Thanks in advance for any help you can pass my way.

Steve

12/02/2014
21:06
Avatar
aDeveloper
New Member
Members
Forum Posts: 2
Member Since:
12/02/2014
sp_UserOfflineSmall Offline

I have the same issue.  I am using version 4.5.1.  I have multiple jqGrids on my page and deleting a row from any of them causes the div with class ui-widget-overlay to remain.  I've tried toggling the top level div with the overlay class in my delete row handler, and while this appears to work at first, if I afterwards try clicking the delete button on a row, nothing happens (delete dialog doesn't appear).

Does anyone know how to resolve this issue?  

Thanks in advance!

aDeveloper

12/02/2014
21:42
Avatar
aDeveloper
New Member
Members
Forum Posts: 2
Member Since:
12/02/2014
sp_UserOfflineSmall Offline

Never mind.  I found a solution that works.  In your code that handles deleting a row, remove the line that hides the delete dialog and replace it with the line below:

$("#delmod" + $grid[0].id).find(".ui-jqdialog-titlebar-close").click();

Forum Timezone: Europe/Sofia

Most Users Ever Online: 496

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