Search
18957 results 561-570
Forum
- 24th Jun 2020How to create nested tables from multidimensional json resultdataBasically the answer is yes you can do either. Here is a simple example of how to show the data in one table: http://live.datatables.net/kucujotu/1/edit It uses columns.render to render the array of sites objects into the column. Assuming that is what you want to do. Using Javascript map to iterate the specific sites object. You can use any Javascript methods in the function to achieve the output you want. It accesses the data using data.results. If you are using the ajax option then you will use the ajax.dataSrc option to point to results You will want to look at the Nested Objects Example. Please post any questions. Kevin
- 15th Jun 2020Create Index Values for Every ID, Instead of Every RowSolution: http://live.datatables.net/ziluwiki/10/edit Issue 1 Solution: I did an "else if" to solve the last index issue as it was outside of the if condition. Issue 2 Solution: The index numbers did not adapt to the rows when search is applied, so I changed the data source from all records to only sorted records displayed. New data source: sortedNews = table.rows({ filter: 'applied' }).data(); Hope this helps anyone who is attempting to do an index column for merged rows! DataTable, please support this as an API in the future!
- 12th May 2020Editor - Leftjoin - Does editor create a record in the correspond table?Glad you got it sorted! Note: this issue forced me to finally upgrade to the most recent versions of datatables en editor as well. So not all time was wasted, after all :-) I still have to do that today :neutral:
- 9th Apr 2020Is there a way to create an indiviual page of an specific entry for printing purposes?https://datatables.net/extensions/buttons/examples/print/simple and customize it like this: https://datatables.net/extensions/buttons/examples/html5/columns.html or in other ways: https://datatables.net/extensions/buttons/examples/html5/ https://datatables.net/reference/button/print
- 10th Mar 2020My first question is about, create a customized column after incoming dataI get an alert every time I refresh page. What is the alert? You have 8 columns in the HTML table but only define 7 in columns. Looks like the 8th column you are trying to define in columnDefs. Try moving that to the columns option so you have 8 entries in the columns. Kevin
- 7th Jan 2020How to create this drop down month data?This forum is for Datatables questions. Sounds like you need support for a different product - Table Press. You will want to use there support forum. Kevin
- 19th Sep 2019how to properly create search plug-in for two different datatables in a single pageNot sure exactly what your question is. Maybe this thread from yesterday will answer your question: https://datatables.net/forums/discussion/comment/157962#Comment_157962 If not please provide more details about what you want to know. Kevin
- 6th Sep 2019How to create dependent select in editor with example (php)This was necessary. Thank you very much!
- 3rd Sep 2019Dynamically create footer for DataTables with scroller - two footers insertedThanks heaps Allan. I'm equally grateful for your answer, and solution, as I am to you trying to give me an out for what was indeed my stupidity :smile: Thanks so much to both yourself, Allan, and also Colin, much appreciated.
- 5th Aug 2019How to create row group in json fileNo. But your own above won't work with print either I'm afraid. Allan