How to hide columns in datatable and make colspan for une input?
I have a problem with datatable, because i want to hide some columns and make colspan with on other column. Can anyone help me? The code is : The empty columns '' are the ones i want to hide. The 3rd...
View ArticleOverride
I'm looking to replace the functionality of _fnFilterCreateSearch, I want to change the behavior considerably but of course without having to edit and maintain jquery.dataTables.js. function...
View ArticleProblem with date fields
Hi Alan, I use your editor (a very great tool!!!) and have a problem with date fields (datepicker). For testing I modified the example "inline-editing/simple.html". The data from the database are shown...
View ArticleStyling colvis button menu positioning
Hello! Fairly new to DataTables, so I apologize if this has been asked or covered before. Im using the 'colvis' collection button to show/hide my columns and the button works great! However I would...
View ArticleSorting data by number while ignoring leading alpha
Hi, I'm working on some code that is supposed to list document numbers in descending order. However, some documents have a letter at the beginning of the number and some don't. The result is that the...
View ArticleUpdate $modified on edit
Using editor, I have a database where I want to know who last updated any cell. $modified is what I want updated on any successful edit with $username.
View ArticleCombining Three columns In Search
{ data:'first_name', name:'first_name', render: function(data, type, row, meta) { return ` ${row.first_name} ${row.middle_name} ${row.last_name} ` }, className: 'dt-left,...
View ArticleCalculate sum of page and total question
I want to calculate the total of everything IF NO SEARCH HAS BEEN STARTED. If someone starts typing in search bar, then the sum becomes this of the search, otherwise it stays the sum of everything. I...
View ArticleProblems with Ultimate Date/Time Plugin
I am trying to get DataTables to sort two date columns properly and it just isn't working. I'm on IE11 and have followed the directions to the letter. The JS files for both moment and datetime-moment...
View Articlecolumn visible in DatabTable not working
Hello All I am replacing fnSetColumnVis method from column.visible method . But its throwing an error ,its not a function var oTable = $("#hfLibTable").dataTable(); //oTable.fnSetColumnVis( 6, false );...
View ArticleI can't get rows in my datatable...
Hi! First of all, thank you for sharing this great plugin! I'm completely newbie in this scope, but i'm very enthusiastic! I try to make my first datatable (server-side with row details), like i saw on...
View ArticlePrevent row deletion on joined tables
How do you prevent rows from deleting from a left join table when you delete a row? I would like to delete a row from sppScheduleNetwork but not Site. Editor::inst( $db, 'sppScheduleNetwork', 'siteID'...
View Articledom: 'Bfrtip' ?
I'm using this : https://datatables.net/extensions/buttons/examples/initialisation/export.html But when I add dom: 'Bfrtip' then my table completely gets screwed with Showing 1 to 2 of 2 entries...
View ArticleIssues with Editor Options Instance and order by
This Options Instance Field::inst( 'report.report_type_id' )->validator( 'Validate::notEmpty', array('message' => $msg[0]) ) ->options( Options::inst() ->table('report_type')...
View Articleorder data but disable sorting
Hi, I have a DataTable with several columns (I don't believe the titles or type of data in the column is important). I want to order it by one of the columns, say column 4. When I put in "order": [ 4,...
View ArticleColumn grouping show/hide with 'colvis' ?
I was wondering if theres a way to pair or group columns together into one button while using colvis. I found an older forumn post asking about it in the depricated ColVis :...
View ArticleShow data jQuery
I'm try to show data but i have errors [{ "id": 5, "nome_fantasia": "Danillo Leão Lopes", "cnpj_cpf": "600.520.763-69", "telefone": "(99) 99102-6245", "pessoa": 1, "contribuinte": 9 }, { "id": 6,...
View ArticleHow to sort column containing chapter value (1.1, 1.2...,1.10)
Hi, I'm faced with a "problem" to sort values in a column that contain chapter values (think of it as a book) when I sort/order them with 'order': [[0, 'asc']], I get this order: -1.1 -1.10 -1.11 -1.12...
View ArticleMultiple checkbox columns
Hi, I would likt to know if it's possible to make a table that is showing a checkbox beside cells content. What I have is a 10 columns table, which 5 of them should have checkboxes, along with text...
View Articleis there a feature can convert the csv file/data format to utf-8 format?
I have a csv file in ANSI format, but when I read it and use its data generate the table, it's just some unknown characters. So if datatables can have any solution to convert this data to utf-8 format,...
View Article