Unable to sort girl when using query Process analytics tool.

Hi all,
I'm not able to sort the grid when used with queryProcessAnalytics.
However, we have other reports where sorting works.

Has anyone faced similar issue before?

Your inputs are appreciated!!!

OriginalPostID-178076

OriginalPostID-178076

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer
    So it looks like you are waiting for your user to enter some filter data in the search fields and then populating your datasubset from the a!save on the button press. So your error is caused because you have local!reportData declared in your load() AND in your with() which isn't correct.

    The a!query behind your button handles all the extra filters but this exact same call to a!queryProcessAnalytics could just be in your with() statement at the top, the query will execute each time a value is entered into your search fields and delimit the data.

    You need to remove the "local!reportData:{}" from your load() and add the queryFilters to the local!reportData in your with(). Your reset button then only needs to null your search fields. Hope this makes sense........
Reply
  • +1
    Certified Lead Developer
    So it looks like you are waiting for your user to enter some filter data in the search fields and then populating your datasubset from the a!save on the button press. So your error is caused because you have local!reportData declared in your load() AND in your with() which isn't correct.

    The a!query behind your button handles all the extra filters but this exact same call to a!queryProcessAnalytics could just be in your with() statement at the top, the query will execute each time a value is entered into your search fields and delimit the data.

    You need to remove the "local!reportData:{}" from your load() and add the queryFilters to the local!reportData in your with(). Your reset button then only needs to null your search fields. Hope this makes sense........
Children
No Data