angularjs - how to refresh ui-grid before apply data sorting -


i need sorting ui-grid table rows ascending , descending in base 1 column selection. problem when call api give me last 100 results, if try show 100 littlest results need send new request api , refresh table data.

what best way refresh table data when user click on sorting button , before apply sorting function?


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -