Sorting id from SQL query client side.

Sorting id from SQL query client side.

sitesurfersitesurfer Posts: 34Questions: 9Answers: 0

Hi again.

I have spotted that the sql order clause is not a public function in the editor class and we are supposed to use the client side ordering to achieve ordering. So far so good.

I have added the id as a field on the php side and added the column to the datatable columns list (and told the class to hide the column).

I get an issue from jQuery as follows: "TypeError: j[k] is undefined"

I have also tried ordering client side using the DT_RowId data as sent in by the editor class - same issue.

Its quite important that I order the client side table for my client with the id's from the db showing in descending order. Any ideas on how to make this happen?

This discussion has been closed.