Forum
...to resolve problem i've modified code in method delGridRow of file grid.formedit.js.
i've replaced line in position 563 :
if(!rowids) { return; }
with
if(undefined==rowids || rowids<0) { return; }
I've added also code to resolve another bug...
when i try to delete more than once rows in a grid by calling same method (delGridRow) div named div.loading remains visible ...
i've added simply this code at position 652 (last code of complete method in ajax call):
$("div.loading","#"+IDs.themodal).hide();
I hope to help you ...
Bye
05:39
Moderators
30/10/2007
Hello,
Thanks. Fixed.
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.
12:25
22/06/2009
Hi,
I am having a similar problem. I am using 3.4.4 and inline editing.
If I have only one row in my grid, I can delete it using delGridRow and the delete function in my url is called, so the data is deleted at the server. However, in the grid itself, the row remains. This problem only occurs when there is only one row of data. With more than one row of data, everything behaves perfectly.
I have tried adding giluka's changes (above) but the problem remains.
How can I get the grid to remove the row?
Thanks.
Jay
04:45
JaySab said:
Hi,
I am having a similar problem. I am using 3.4.4 and inline editing.
If I have only one row in my grid, I can delete it using delGridRow and the delete function in my url is called, so the data is deleted at the server. However, in the grid itself, the row remains. This problem only occurs when there is only one row of data. With more than one row of data, everything behaves perfectly.
I have tried adding giluka's changes (above) but the problem remains.
How can I get the grid to remove the row?
Thanks.
Jay
I am also facing the same problem, with a single row, the data is getting deleted at the server, but the row remains, and if I add any new row, its replacing the old (deleted) row. (I am using 3.5.3)
Looking for a possible solution….
Thanks,
RiShie
02:51
Moderators
30/10/2007
Hello,
Will be good if I have a link to the problem. Mostley the reason for this is in the events when you delete the row. Please check your events code if you return the correct values in the events.
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.
Most Users Ever Online: 715
Currently Online:
47 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66