search

Home  >  Q&A  >  body text

angular.js - AngularJS click search to achieve data changes

Filter has been used. Due to paging, after searching, the search results of each page are not combined into the same page

習慣沉默習慣沉默2830 days ago584

reply all(2)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-15 17:12:02

    The data passed in by paging should be the filtered array instead of the original array

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-15 17:12:02

    If you use filters to implement search, after the search is completed, only the data presented on the page has changed, and the actual data used for paging has not changed. You can bind a function to the search to change the paging data

    reply
    0
  • Cancelreply