You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get a count returned with the suggestions and display the count in the footer to say showing 10 (number of records i actually return) of 10000 (total number of records matching in my db)
I have everything setup, the only thing I am not sure about is how to return an object with 2 properties, 1 containing the virtual count, the other containing suggestions and then have the suggestions be bound properly and still have access to the count. below is my code
Also any suggestion on the code improvement would be appreciated
`
I am trying to get a count returned with the suggestions and display the count in the footer to say showing 10 (number of records i actually return) of 10000 (total number of records matching in my db)
I have everything setup, the only thing I am not sure about is how to return an object with 2 properties, 1 containing the virtual count, the other containing suggestions and then have the suggestions be bound properly and still have access to the count. below is my code
Also any suggestion on the code improvement would be appreciated
`
The text was updated successfully, but these errors were encountered: