Search
18437 results 8921-8930
Forum
- 16th Mar 2015row disappears after editor update(and the json returned in the Ajax response is null) As in { row: null }? If so, it means that your edited row no longer meets whatever filtering criterion you have applied to the script - probably using the where() method. Allan
- 16th Mar 2015Download Excel Without TableTools in Server sideIs any way to send the ajax request to custom function Sure - use the fnClick option. Allan
- 16th Mar 2015Can't get a select to work in Editor from server sideis nothing in the Ajax response, you'll probably need
- 15th Mar 2015changing row colour after editor create/editI have a solution which works. On closing the editor window, just do an ajax reload editor.on( 'close', function () { table.ajax.reload( null, false ); } )
- 13th Mar 2015Table Joins: Does Editor have support for "Or" statements and "Sum Of"?$q->or_where( myrequests.assigned_group', 4 ); Missing quote mark - sorry. Should be: $q->or_where( 'myrequests.assigned_group', 4 ); Did the error in the Ajax return give an error message that agrees with that? Allan
- 12th Mar 2015Problem upgrading from 1.9.4 to 1.10.5id != 0) { $("body").css("cursor", "wait"); $.ajax({ url: "getquery.php?reqsql="+encodeURIComponent(val), dataType:'JSON', success:function(json){
- 12th Mar 2015Shown data in the Source?that it is a AJAX issue since the data
- 12th Mar 2015Cant fill datatableHere is an Ajax example. Instead of using plain JSON, you would simply use JSONP. Here is a server-side processing JSONP example - Note that unless you have 50k+ rows, you are unlikely to want to use server-side processing. Allan
- 11th Mar 2015Server side processing, URL too longBy default, datatables uses GET instead of POST. Try changing the type to POST: var table = $('#mytable').DataTable({ ajax: { url:"/my/url", type:"POST" } });
- 11th Mar 2015How to get number of rows (Editor)?Are you loading data via Ajax and then immediately calling page.info()? If so, recall what the first a in Ajax stands for :-). You need to use initComplete to wait until the data has been loaded. Allan