Search
43605 results 6611-6620
Forum
- 7th Oct 2019DataTables warning: table id=transactions - Unknown field: transactions.date_received (index 0)Nothing immediately obvious. What is going wrong - are you getting a syntax error, is it not applying the condition, giving a database error, or something else? Its just about impossible to say what's wrong with the above code without knowing the symptoms I'm afraid! Thanks, Allan
- 5th Oct 2019Can't able to get row data after populating table from JSON datahey can i ask one more thing like i am not able to do this as i am trying to use the cell data in another function but i am only able to access that inside that getBetId() function and not able to render it into cell. <script type="text/javascript"> //Function to get betid from JSON data function getBetId(id, callback) { var betid = "default"; var jsonURL = "https://api.primedice.com/graphql?query={%20bet(betId:%20%22" +id+ "%22)%20{%20iid%20}%20}"; // console.log(jsonURL); $.getJSON(jsonURL,function(data) { var text = `${data.data.bet.iid}`; var betId = text.substring(6,text.length); callback(betId); }); } </script> <script> $(document).ready(function(){ var betId; $.getJSON( "https://archive.primedice.com/2bd01bb9-7c08-4ac3-b604-41d7fd502632", function( data ) { $('#data-table').DataTable({ "data" : data, columns : [ {"data" : "id", "render": function ( data, type, row, meta ) { //I want to call that function here and render it into this cell getBetId(data, function(betId) { console.log(betId); return betId; }); return '<a href="https://primedice.com/?iid=house%3A'+betId+'&modal=bet">'+data+'</a>'; }}, {"data" : "amount"}, {"data" : "currency"}, {"data" : "payoutMultiplier"}, {"data" : "statePrimedice.result"} ] }); }); }); </script>
- 3rd Oct 2019Date sort(ascending-descending) in data Table according to month and day but not work for yearThank You . its work.
- 2nd Oct 2019onKey function stops working on parent table, when child table is destroyedThis was addressed in the latest 2.5.1 patch release.
- 26th Sep 2019dynamically load table without knowing how many columnsThere are some threads asking the same question such as this: https://datatables.net/forums/discussion/comment/156630/#Comment_156630 Let us know if you have any questions. Kevin
- 1st Sep 2019DataTables warning: table id={id} - Requested unknown parameter '{parameter}' for row {row-index}, cThanks it's resolved
- 31st Aug 2019need table with multiple column (column A-Z) if search, it should search the column not rowYou can use column().visible() for a single column or columns().visible() to control multiple columns. click 10 in show entries, it should show only column a -j You wouldn't be able to use the default page length input for this. You would need to create your own then use one of the above API's. Kevin
- 27th Aug 2019problem quote in tablephp 7 and magic quotes are not installed on my server. it's wordpress that forces the magic quote. as I load the file load.php in my php file before instantiating datatable the variables that arrived in POST were with magic quote. problem solved thanks allan
- 27th Aug 2019Ho to don't clear box Search when update table ?Hi @"walter.iermano@live.com" , Is this using Editor? That's not happening with the default page - see here. Cheers, Colin
- 19th Aug 2019Two rows within my table head@Colin, Thank you a billion times.