How can I use JavaScript to create a Filter?
One answer
As far as I know, the RM extension API is intended to be used against the data (artifacts), not the view (the displaying of artifacts). If you check the API reference, the class that provides any interaction is probably RM.Client but it only includes three methods, of which none does filtering.
Comments
I am not looking for a filter, I am trying to create one. The question is HOW can I re-write the displayed artifacts on the main part of the screen? Or can I create a collection with the filtered items?
Thanks,
One way of filtering is to hide/show certain artifacts in the current page. I don't see any JavaScript API that allows you to do this. Another way of filtering is to send an AJAX request to the server and use the result set to refresh the current page (which is more advanced than the previous one), and again I see no API to do this.