search

Home  >  Q&A  >  body text

javascript - How to get the total number of rows in datatable after pagination

var nums=$(".border_tables tbody tr").length;

After the datatable is paginated, only the number of rows on the current page can be obtained. How to obtain the total number of rows

天蓬老师天蓬老师2864 days ago1467

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-19 10:22:03

    The backend needs to return the total number of rows

    reply
    0
  • Cancelreply