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
delGridRow on rowId '0' fails ...
16/04/2009
03:10
Avatar
giluka
rome
Member
Members
Forum Posts: 28
Member Since:
09/01/2009
sp_UserOfflineSmall Offline

Hi Tony,

first of all very compliments for your work, that's great !

I noticed a strange behavior in calling delGridRow passing in parameter rowId=0.

Nothing appears ... modal dialog to confirm deletion does not appears ...

Thanks for your attention

Have a good day

16/04/2009
04:00
Avatar
giluka
rome
Member
Members
Forum Posts: 28
Member Since:
09/01/2009
sp_UserOfflineSmall Offline

...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

20/04/2009
05:39
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

10/07/2009
12:25
Avatar
JaySab
Member
Members
Forum Posts: 10
Member Since:
22/06/2009
sp_UserOfflineSmall Offline

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

28/10/2009
04:45
Avatar
rishie
Guest
Guests

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

29/10/2009
02:51
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information