Search
-
How to make Datatables read my own php server side script file?
by tangerine ·https://datatables.net/manual/server-side#Returned-data -
Redraw table is showing different number of rows each time
by kthorngren ·https://datatables.net/manual/server-side#Returned-data -
Server side pagination doesn't work
by kthorngren ·https://datatables.net/manual/server-side#Returned-data -
The Most basic Question of them All: Row 0 Column 0 error.
by kthorngren ·https://datatables.net/manual/server-side#Returned-data -
JQuery + Ajax in Flask not working
by kthorngren ·@app.route('/get_table_data', methods=['POST']) def get_table_data(): cnx = mariadb.connect(user='root', password='', database='test') cursor = cnx.cursor() cursor.execute("SELECT I -
JQuery + Ajax in Flask not working
by kthorngren ·@app.route('/get_table_data', methods=['POST']) def get_table_data(): result = process_request() #process request and save in result return jsonify(result) #return JSON string -
Deeply nested arrays in a json
by kthorngren ·@allan, I noticed this comment in the Server Side docs for the data return parameter: -
Server-side processing doesn't seem to work
by kthorngren ·https://datatables.net/manual/server-side#Returned-data -
ServerSide: true, and I'm not having a successful outcome result for a table
by kthorngren ·I think the problem is that you are not returning the data correctly. According to the server side doc you need to return the following parameters: draw, recordsTotal, recordsFiltered and data. -
Matrix display - Unknown parameter '0' for row 0, column 0 error -- TN #4
by allan ·I presume that the error is happening for the #returnsDueByStateTable table? The reason for that is that the data being returned from the server for each row is in the format: -
Data render search unknown field error
by kthorngren ·I noticed you have "files":[] in the JSON response. Not sure if that is the source of the unknown field error. 'files` is not one of the required or optional fields that server side is ex… -
scrollTo() specific row in the next pagination
by kthorngren ·https://datatables.net/manual/server-side#Returned-data -
Using the PHP data() method to access data before it is output
by stol ·According to the documentation here https://editor.datatables.net/manual/php/getting-started#Return-data, you can access the data before json_encoding it. There is no further mention of how to access -
How to return server error messages to datatables.
by marlonBr1 ·I've just seen this post, that solves my problem: https://datatables.net/manual/server-side#Returned-data -
Custom values feed and server-side data post-process
by allan ·Yes, use DT_RowClass. See the documentation here. -
Is there a way to modify the pagination info ?
by Junw ·Based on this server-side#Returned-data, there don't seem to be a way i can modified the pages listing. -
how can I add a dragable mark at <tr> when I use ajax data source?
by allan ·Do you mean you want to add a draggable attribute to the tr elements? If so, createdRow or rowCallback is the correct way to do it. -
Calculable fields or sql functions
by mom ·http://editor.datatables.net/manual/php/getting-started#Return-data -
Datatable using Server Side Progress, Pagination dont work (Datatables ver 1.10)
by allan ·Per the forum rules, please link to a test case showing the issue. -
add sclass based on data
by allan ·You can use the DT_RowClass property to have DataTables automatically add a class to a row (documentation - that page is about server-side processing, but the DT_RowId, etc, parameters will work for …