I have the smart table with Ajax loaded data where I want to reset filters and reload my data collection with reset of pagination as well when a button is clicked. My code is given below.
However I can't get this managed since pagination and filters are not resetting.
I have seen the following but I'm not sure how actually the tableState Object can be accessed since it's undefined when I log it on the console and also I'm not using st-pipe directive.
I have the smart table with Ajax loaded data where I want to reset filters and reload my data collection with reset of pagination as well when a button is clicked. My code is given below.
HTML
<button ng-click="resetFilters();" type="button" class="btn btn-info">Reset</button>
JS
However I can't get this managed since pagination and filters are not resetting.
I have seen the following but I'm not sure how actually the tableState Object can be accessed since it's undefined when I log it on the console and also I'm not using st-pipe directive.
Please Help...
Thank You.