Search
43745 results 6641-6650
Forum
- 17th Oct 2019How to hide the search bar in my print window(not the data table print button window)?Hi @h3aven , As you can see, it's not happening here. 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
- 9th Oct 2019Export table data using 'PDF all page' and 'Excel All Page' makes Page unresponsiveHi @Gurupriyan , 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
- 7th Oct 2019DataTables warning: table id=my_table - Requested unknown parameter '0' for row 0, column 0.Hi @Danny4x , No, there's intellisense I'm afraid, just the manuals. That's a lot of data to pull back, it would be worth considering serverSide. The protocol is discussed here. This section of the FAQ should help too, it discusses various techniques to improve performance, Cheers, Colin
- 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