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
Virtual Scrolling + delRowData does not work when not in view
16/01/2014
22:03
Avatar
helios456
New Member
Members
Forum Posts: 2
Member Since:
16/01/2014
sp_UserOfflineSmall Offline

Steps to Reproduce:

===

1. Create a grid with a large quantity of local data.

2. When the data in question is out of view (not currently rendered - <tr> does not exist), use delRowData to remove the row.

3. Scroll back to where the row is supposed to be deleted.

Expected:

===

The row should be gone.

Actual:

===

The row still exists.  This is because retrieving the row in delRowData returns null, and it aborts the delete.

17/01/2014
16:08
Avatar
helios456
New Member
Members
Forum Posts: 2
Member Since:
16/01/2014
sp_UserOfflineSmall Offline

I resolved this by adding the following lines between the assignment to rowInd and the return false.

if (!rowInd && $t.p.datatype == 'local') {

   var id = $.jgrid.stripPref($t.p.idPrefix, rowid), pos = $t.p._index[id];

   if (typeof (pos) != 'undefined') {

       rowInd = $();

   }

}

20/01/2014
15:43
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Can you please, make a pull request for this in GitHub ?

Thank you.

Kind Regards

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.

19/07/2014
09:21
Avatar
Shetty
New Member
Members
Forum Posts: 1
Member Since:
19/07/2014
sp_UserOfflineSmall Offline

Hi Helios,

Is the fix added to github? Is it available anytime soon?

Please let us know.

Regards,

Shetty.

21/07/2014
11:24
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I wait for the fix too, but there is no response. Will try to see what mean @helios456

Kind Regards

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