Forum
23:52
28/03/2013
I'm using jqGrid with dynamic scrolling and I'd like to use the Inline editing with inlineNav incl. Oleg's solution which makes inline editing finaly useful.
I found dynamic scrolling problematic because not all rows are loaded (and rendered) and Inline editing methods goes wrong when scrolling. To avoid problems, user can't scroll out:
- can't scroll after selecting the row and then using add/edit
- can't scroll even without selecting the row, because with no selection, first position is applied (3rd video)
- can't scroll while adding/editing a row (one solution may be temporarily disabling the scroller)
Links:
- demo: http://jsfiddle.net/dmnc_net/tNGJn/
- scrolling with beforeSelected: http://youtu.be/osvwiykcuME
- scrolling with first and last: http://youtu.be/Du_TBrlrzSI
- scrolling without clicking any row: http://youtu.be/pCzpk1SvQNA
I've used these addRow position settings: beforeSelected, first and last; before and after are not working at all.
I'm thinking about solve this problem by patching addRow and editRow methods by telling them scroll position and handling loaded/unloaded "pages" when user has scrolled too far and selected record are unloaded. But I'm not sure if this is possible or it will be better to use modal add/edit dialogs.
original post here
Most Users Ever Online: 715
Currently Online:
350 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