Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Applying AdvancedCriteria to server-side mock data

    Hi there,


    I'd like to apply AdvancedCriteria to some mock data server-side. But, looking at your documentation for AdvancedCriteria ( https://www.smartclient.com/smartcli...dCriteria.html ) it looks like I need to create a DSRequest. So, if I'm not actually fetching the data using a DSRequest and just using mock data, how do I filter the data? I know how to create a DSResponse object and call setData() just not sure how to filter it using the AdvancedCriteria.

    Thanks for the help. Sorry if this is a remedial question! We are still using Smartclient 10.0 at this point.


    #2
    You most likely want Evaluator.valuesMatchCriteria().

    Comment

    Working...
    X