Quantcast
Channel: Free community support — DataTables forums
Browsing all 35358 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Override

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 Article


Problem 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 Article

Image may be NSFW.
Clik here to view.

Styling 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 Article

Sorting 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 Article


Update $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 Article

Combining 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 Article

Image may be NSFW.
Clik here to view.

Calculate 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 Article


Problems 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 Article


column 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 Article

Image may be NSFW.
Clik here to view.

I 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 Article

Prevent 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 Article

dom: '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 Article


Issues 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 Article

order 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 Article


Image may be NSFW.
Clik here to view.

Column 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 Article

Show 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Multiple 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 Article

is 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
Browsing all 35358 articles
Browse latest View live