PDA

View Full Version : [CLOSED] [#593] RestResult and totalCount



threewonders
Nov 05, 2014, 10:49 AM
Good morning.

As the total number of records using RestResult indicated. It is able to use paging.

Just as with StoreResult can be used:



return new StoreResult(query, total);


Thank you very much.

Daniil
Nov 05, 2014, 2:08 PM
Hi @threewonders,

That is a good question. I will discuss with colleagues if we can add the Total property for the RestResult class. I will let you know whatever we decide.

In any way, you can just use a StoreResult for the read action.

Daniil
Nov 11, 2014, 4:36 PM
Created an Issue:
https://github.com/extnet/Ext.NET/issues/593

Done for v2 and v3 in the revisions #6153 and #6154.

It will go to the v2.5.4 and v3.0.0-RC releases.