find data after searching

find data after searching

DrumsidDrumsid Posts: 2Questions: 1Answers: 0

I want to get data after searching in a table. I need two kinds. All rows from the table that are included in the search result and all rows from the table with a certain class from the search result.

All rows after searching I get like this

drawCallback: function () {
      let allCases = this.api ().page.info().recordsDisplay;
}

Tell me how to get the result of all lines with a certain class from this?

Answers

  • DrumsidDrumsid Posts: 2Questions: 1Answers: 0

    done

    this.api().rows('.table-danger', {search:'applied'} ).nodes().count()
    
Sign In or Register to comment.