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
Row is not saved with virtual scrolling when the next row clicked is outside of the current page.
14/02/2013
15:41
Avatar
rapidfloss
New Member
Members
Forum Posts: 2
Member Since:
14/02/2013
sp_UserOfflineSmall Offline

Bug #1: Save does not succeed when the row to save is not in the virtual scroll area with scroll=1.

Reproduce with jsfiddle:

  1. Click any row to begin editing
  2. Scroll until a virtual page load happens (scroll to the bottom)
  3. Click in a cell

Expected Result: The console should log "The row was saved?: true"

Actual Result: The console logs "The row was saved?: false"

Bug #2: Currently edited row selection is lost.

Reproduce with jsfiddle:

  1. Click on a row to begin editing
  2. Scroll away until a virtual page load is triggered by the virtual scrolling (scroll to the bottom)
  3. Return to the cell you were editing

Expected Result: The row you were editing is still being edited

Actual Result: No row is selected

14/02/2013
17:10
Avatar
rapidfloss
New Member
Members
Forum Posts: 2
Member Since:
14/02/2013
sp_UserOfflineSmall Offline

tony said:

Hello,

Sure there is, please read the docs in order to get 90% answers of your questions.

Here is it

Enjoy


Tony,

I don't understand how that link relates to either of the bugs.  I am not retrieving data from a server in my example.  Could you update the fiddle to get rid of the issues I have or give a more concrete explantion of how User Data could help me?

Thanks for your reply!

14/02/2013
17:43
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Many thanks the way you describe the problems. If every jqGrid user describe the problems this way we can help in time 🙂

Now the problems:

1 and 2 These are not a bugs, but "feature" (i.e the grid works this way)

To explain the situation - the grid reads the paging on portions.

If this portion exceeds the limit it clear the grid data and continue to add the next/previous page.

In your situation the grid clears the data on first page and thus the edited row. (The cleared row can not be saved and edited again when we are back with the scroll)

I hope you understan. 

This is just my opinion - it is not a good idea to use inline edit with scrolling grid. Better way is to use form editing.

Thanks again

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

15/02/2013
12:48
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Ignore the post that you comment. It was my mistake – the answer should go to another user Laugh

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