Closed edgarz closed 10 years ago
@java: i choosed JSON as request. so in jersey i can read an Jsonobject as input.
I think you misunderstood what offset actually does. Offset is how many records from top not to show at all. When request is made and if you need to request some page for infinite scroll, it uses this.last.xhr_offset to remember that. And when a POST is submitted to the server, it sends
params['offset'] = parseInt(this.offset) + this.last.xhr_offset;
i think i have seen a lot of code, nice code, by now. you implemented the bug-fix for inifinitive scrolling by changing offset to xhr_offset. it works fine. i have problems, after reload, maybe not all events are implemented there, i have problems to select rows, to do actions on them after reload.
PS: nice thing from chrome beta 64bit: you can debug eval-loaded-code, try it
glad it works.
Have you read my comment on encodeId, i ask as the issue was closed. I will look wether the same issue happens in other parts as expand too. Yes i should fork and bugfix it. Edgar Am 05.08.2014 22:29 schrieb "Vitali Malinouski" notifications@github.com:
glad it works.
— Reply to this email directly or view it on GitHub https://github.com/vitmalina/w2ui/issues/608#issuecomment-51254922.
Please provide a link to the comment on encodedid
the effect: you scroll total > limit records. after reload selection is impossible. no ideas by now. maybe we shold take the easy way, that relaod in grids means to start at zero offset, do it all new. i know several peaple are testing on static data, but i think it is not the usecase. if somebody is interested in working with JEE7,netbeans,glassfish, talk to me, i'va a good implementation for that (free code). when i find some time i'll publish the mapping-code here.