grid - always use data.total

This issue has been tracked since 2021-11-19.

always use data.total ,not just during the first request (with offset 0)

Assuming this.total = this.offset + this.last.xhr_offset + data.records.length; to be correct might just be plain wrong if the server intentionally sends data.total = -1

More Details About Repo
Owner Name vitmalina
Repo Name w2ui
Full Name vitmalina/w2ui
Language JavaScript
Created Date 2011-04-12
Updated Date 2022-06-22
Star Count 2000
Watcher Count 179
Fork Count 665
Issue Count 255

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date