I am happy to announce the release of W2UI ver 1.3. This release has many new features,
improvements, bug fixes. New 1.3 version is not backward compatible with 1.2, however, these release notes should help you migrate.
I have also back-ported some bug fixes into W2UI ver 1.2.1 that is fully backwards compatible
with 1.2 version.
The short story
One of the major changes in 1.3 is deprecation of pagination in favor of infinite scroll.
My goal was to make the grid present records in a natural way so that you would not even think that there
is any other way. You scroll, you see more records (if any). You engage the scroll bar, you get the records you were hoping to
get. And I think it turned out to be an awesome feature.
You can see a demo of Infinite Scroll in the demo section. It works great for local data source,
If your data source is remote, the grid will initially fetch first 100 records and if user scrolls down it will
fetch next 100. Fetched records get stored in the records array and if user scrolls up - no server request will be made.
I have gotten an early comment from a user that it might not be satisfying for DB intensive requests. To address this issue a new
property has been introduced - autoLoad - that indicates whether to load
more records when user scrolls down or display "Load More" button at the bottom of prefetched records.
I have updated demos and documentation to reflect changes in 1.3.
The following is the non-exhaustive list of updates in this release: