Search
19065 results 561-570
Forum
- 21st Aug 2020Button or New to search json object to create new rows into tableDaft question perhaps, but would this not be a good use case for a select list? I'm afraid we don't have any examples of what you are looking for specifically. Do you have the list of AD users up front, or are you needing to Ajax loading them? I did start work on a DataTables plug-in for Editor a while back, but it isn't yet complete (layout was difficult, so that is part of DT2). Allan
- 27th Jul 2020How to Create DataTable's Pagination Link Custom designs and change it's Default Place in DOM.Thanks For Help, Instead I created Custom paging and it is creating other issues, can you please look at that ? https://datatables.net/forums/discussion/63394/datatables-serverside-processing-not-working-with-custom-paging-in-asp-net-core/p1?new=1
- 11th Jul 2020Create separate js file and call in separate htmlYou just add a script include statement like you have for the other .js files: <head> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4-4.1.1/jq-3.3.1/jszip-2.5.0/dt-1.10.21/af-2.3.5/b-1.6.2/b-colvis-1.6.2/b-flash-1.6.2/b-html5-1.6.2/b-print-1.6.2/cr-1.5.2/fc-3.3.1/fh-3.1.7/kt-2.5.2/r-2.2.5/rg-1.1.2/rr-1.2.7/sc-2.0.2/sp-1.1.1/sl-1.3.1/datatables.min.css"/> <script type="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js"></script> <script type="text/javascript" src="https://cdn.datatables.net/v/bs4-4.1.1/jq-3.3.1/jszip-2.5.0/dt-1.10.21/af-2.3.5/b-1.6.2/b-colvis-1.6.2/b-flash-1.6.2/b-html5-1.6.2/b-print-1.6.2/cr-1.5.2/fc-3.3.1/fh-3.1.7/kt-2.5.2/r-2.2.5/rg-1.1.2/rr-1.2.7/sc-2.0.2/sp-1.1.1/sl-1.3.1/datatables.min.js"></script> <script type="text/javascript" src="https://code.highcharts.com/highcharts.js"></script> <script type="text/javascript" src="https://code.highcharts.com/modules/exporting.js"></script> <script type="text/javascript" src="/js/myscript.js"></script> <meta charset=utf-8 /> <title>DataTables - JS Bin</title> </head> are there similar things to import declarations I need in the external js file? You are already loading the dependent files in the head of your page. Kevin
- 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