Quantcast
Channel: DataTables 1.10 — DataTables forums

DataTable.render.select is not a function...and inline editing not working

Trying to replicate the simple inline editing example (https://editor.datatables.net/examples/inline-editing/simple.html) with my own application. But I just get this error on loading, no select...

View Article


Is there a way to create a dynamic table using ajax data?

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I've done a search for this problem, but the problem is that all the examples show the columns...

View Article


Copying only column data

It is possible to select rows and copy them with copyHtml5? Copy button by default copies the row data even if only one cell or a column (or a group of columns) is selected. I couldn't extend the copy...

View Article

Design Suggestion: Paginate over a subset of API data from an API with...

This question is more a request for a suggested design based on the community's experience. Essentially I need to paginate over a subset of API data from an API with limited search/filter and...

View Article

FixedHeader not working

Hi guys, I'm trying to get the FixedHeader to work, but it's not working for me. I included the files via the CDN link and they are included in the page source. There are no errors shown in the...

View Article


ssp setting a parameter from a column in array

I need to set a variable based on the the value of column in a ssp script , but for some reason it is not returning the value. $outOfOffice = ''; $columns[] = array( 'db' => 'OUT_OF_OFFICE', 'dt'...

View Article

Excel export with RowGroup

I found this question asking about exporting tables using the RowGroup extension with each group on a different sheet interesting. The question asked about using the Add a new sheet example. This...

View Article

Image may be NSFW.
Clik here to view.

Classnames in columns not applied

Hi guys, I'm creating a new list with DataTables. Everything is working, but for some reason, the classes that I specify in the "classname" property in the columns array are not applied to the columns....

View Article


Image may be NSFW.
Clik here to view.

JSON encoding error: Malformed UTF-8 characters, possibly incorrectly encoded

This is the error I am getting. I am using this version of Data Tables: https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js I use Editor with PHP, version is 2.0.7 The browser's console...

View Article


The "New" button or adding a record/row to table

Unfortunately, our legacy site is not using DT2 and Editor v2 yet, so the layout config is not an option. Can someone point me to a simple example of adding a new record to a DataTable using Editor v1?...

View Article

Displaying PDF and CSV buttons?

Where have I messed up the syntax for PDF and CSV export in my test case here? The buttons for PDF and exporting to CSV are not appearing. Thank you

View Article

Passing auxiliary data from server to client?

In PHP and JS mixed environments, it's pretty common to see server data passed to the client JS view interpolation (see 'some_server_data' below in the first line of the sample below) Then that value...

View Article

Image may be NSFW.
Clik here to view.

How to "filter" table data by value?

How can I "filter" table data? Here is my test case. This is a simple, contrived example to illustrate the point. Using the select box at the top of the page, I want to "filter" for either families...

View Article


Enabling bubble editor on multiple rows

Hi, I’m looking for advice on editing multiple rows using the Bubble editor. We have the following tables in SQL Server: Question Table: QuestionId QuestionText ParentQuestionId 1 Did you eat lunch...

View Article

Error loading DataTables data on new server

Greetings to all, I would like to know if DataTables 1.10.18 and jQuery 3.3.1 work correctly with PHP 8.2 version and MySQL/MariaDB 10.11.6 Loading the page with DataTables on my new server I get the...

View Article


Character set 'utf8mb3' not supported error

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: Hi, I keep getting the following error trying to post a simple numeric string to a VARCHAR field...

View Article

Triggering two refreshes with one click

Hi, I have a table which links to two other tables. I want a select on the first table to trigger loads on the other two tables. If I put both reloads (and supply the linking field value for the...

View Article


display: table-header-group

Till now I have used tfoot: {display: table-header-group} and it worked all fine for many years, table footer was displaying before body, but today when I did rerun my webpack, table footer is not...

View Article

Columns filtering and custom DOM

Link to test case: Debugger code (debug.datatables.net): Error messages shown: None Description of problem: I added column filtering and set it up in "initComplete" section. I also defined a div that...

View Article

Deprecated function

A customer has been using Datatables 1.10 with the editor for almost 10 years. The PHP version has now been upgraded to PHP 8.2. I now receive a message about an outdated function in the "Format.php"...

View Article

Multiple tables with column search

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: Can I have two different data tables in the same page with column filtering? I have two tables,...

View Article


Custom Toolbar Not Visible on Export

We have created two custom toolbars in version 1.10 of Datatables Our code looks like this: .DataTable({ dom: '<"toolbar"><"toolbar2">Bfrtip', ... }); $("div.toolbar").html('<b>THIS...

View Article


Target column filter inputs only

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I use the following to clear input elements in column filter of header but this targets all input...

View Article

Search specific columns

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I am using an external text box to search the datatable using: $('#tbSearch').keyup(function() {...

View Article

Paging & Column Visibility In Server Side

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I have to display around 54,000 records and it seems server side processing is the way to do it....

View Article


Styling DOM

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I am trying to put table information, 'i', on top right, above the table, so users can see count...

View Article

How can I get the sum of the first 5 rows?

I have an example of how to sum a column of data on a page as well as the grand total but I need to get the total of the top 5 records, then the first 10 records and then the first 20. Can you point me...

View Article

Download API when using server side processing

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I read that when using server side processing, supplied export buttons can only export the current...

View Article

Image may be NSFW.
Clik here to view.

Are there any examples of custom layouts employing the modal as "Side Panel...

By default DTE uses a modal editor. We would like to know if there is a way to change this layout so that the the editor is displayed inline or like a side panel (right side) and displays as an inline...

View Article



Dynamic column rendering

Link to test case: Debugger code (debug.datatables.net): Error messages shown: Description of problem: I am creating a datatable dynamically using various datasets as data source. Something like below...

View Article