How to get all data from a column?

How to get all data from a column?

hernandohernando Posts: 10Questions: 3Answers: 0

I am utilizing server-side processing.
"return Datatables ($ data) -> make (true);"

But in my view, I need to get all the data from a column from my datatable. from a different function in my js.

example:
$ ('# btn3'). click (function () {
// get data of column in datatable name ?
}

how I do this?

I have 3 datables in my view. I need to target one.

If the datable has 100 records and it is showing 10, how do I get the 100 records, and not just what the datatable is paging?

Thanks to anyone who can help me.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    Answer ✓

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.