How can we improve Breeze.js?

Support Paging natively

I'm using .take() and .skip() for paging with a table.

When I "insert" an entity into the database, I reload my table (new query). Now I would like to jump to this new object inside the table and highlight it.

I need an elegant solution to find on what page the new object is and then use skip/take to jump to the correct page.

My Suggestion:

Maybe Breeze could natively support paging by allowing to specify a page-size in the query and which page to deliver (instead of using take and skip and calculating it on the client).

If this was the case, the parameter for "which page to deliver" could, instead of being an integer, also be a sub-query which would be executed on the resulting data before it gets "taked and skipped" to find out, on which page the object(s) are visible and use this as "page to deliver".

I started the discussion on http://stackoverflow.com/questions/26996334/paging-find-object-position-page-to-display/27046984?noredirect=1#comment43219382_27046984 and moved it here.

10 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
NoRyb shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base