Quantcast
Channel: DataTables 1.10 — DataTables forums
Browsing all 2364 articles
Browse latest View live

Horizontal scroll + fixed width columns example

Link to test case: http://live.datatables.net/zidalazi/10/edit Description of problem: Hey guys! I'm looking for a working example of the datatables with horizontal scroll enabled and columns of fixed...

View Article


Assign textarea html

I need to declare/use one column as textarea (because it contains a lot of text, and the row is too high and uselsess). Formatting cell as textarea I could/should be able to scroll the contains into...

View Article


Show/Hide All Child Rows and Child Row Formatting

This test case includes sample child rows that are all opened on table initialization: live.datatables.net/putarafo/3/edit I added the button "Hide All Child Rows" that removes all child rows when...

View Article

How would the implementation of a 'submit' type button on each row

How would the implementation of a 'submit' type button on each row, from this example here, send the contents of the line to $_POST. So that PHP can receive this array?

View Article

Image may be NSFW.
Clik here to view.

how can I get this new look of this image here.

I need a submit button that allows to send to the variable $_POST in PHP the values of <select>. I don't want the table to be displayed, as I only need the cascading filters and to be able to...

View Article


jQuery library dependency in dataTables

We planned to upgrade the latest DataTables in our application. Currently we are using DataTables 1.10.11 and it includes jQuery version v1.12.0 Our requirement is to use jQuery 3.5 in latest...

View Article

Error when including server-side and ajax processing

Here is a link to my test code: https://jsfiddle.net/ktpmm5/drogpca3/10/ As soon as I add the js code: "serverSide": true, ajax: "includes/server_processing.php" I get the error message: table...

View Article

Custom Filter Not Accepting One Condition

Link to test case: https://jsfiddle.net/BeerusDev/x054hvt3/53/ Hello, So I am having this issue trying to add a condition to my custom table filter $.fn.dataTable.ext.search.push( ). I currently have...

View Article


Server Side Pagination sql server and datatables

Hi, I have the datatables Successfully Implemented with my Coldfusion code. But there is a Problem, I am unable to use the sql server fetch offset with it, right now my query returns around 5000000...

View Article


Image may be NSFW.
Clik here to view.

Read Data from JSON and Display in a Single Column

I am working on a data table that needs to fetch the data from a JSON file and display the data there in a single column under each other. So, instead of displaying rows under the headers, I want to...

View Article

How to render a format with html input field

To create my table, I use HTML table element. I use language for decimals and thousands. This works perfect if I use just a value in my cell: <td>50.000,00</td> When I use this cell as an...

View Article

Image may be NSFW.
Clik here to view.

Custom PDF Export

I have a datatable that is a list of invoices. I have an export to PDF button on that DT. I'm wondering if there is a way to add an extra line on the PDF export that totals the invoice amounts and puts...

View Article

Refresh Dependent Inline Editor Select List

This seems very straight forward but I'm afraid I'm struggling. I have a table with inline editing. The editable fields are both type:select. The 'Product Name' field options are dependent on the...

View Article


Submiting whole table to php

Hi all, I start using DataTables in my php project to show data from SQL table. The thing is that I need to send all the data from the whole table to my php script after pressing submit button, but it...

View Article

Image may be NSFW.
Clik here to view.

How to change SearchPane Layout for popup search pane to display more than 3...

When I use the following code for a popup search pane it has no effect on the number of columns displayed, it still only displays 3 columns wide. How do I change the number of columns displayed in the...

View Article


Editor - Duplicate action

Hello, I tried to use the Duplicate button but I currently have a problem with it. On clicking on Duplicate it shows the error "An SQL error occurred: SQLSTATE[23000]: Integrity constraint violation:...

View Article

Alert Original Error Msg In AJAX

I have config as below: $.fn.dataTable.ext.errMode = 'none'; $('#example') .on( 'error.dt', function ( e, settings, techNote, message ) { console.log(message); } ) .DataTable(); The ajax result is {...

View Article


Ordering multiple columns not working, not doing anything

Hi all. I have six columns. I'd like to sort by the second, and secondary by the fifth. I can achieve this through user input by shift-clicking, but I'd like it preloaded so the user doesn't have to do...

View Article

i need execute function after draw table

Hi! Thanks in advance for the help! I am needing to execute my own function once the table is finished drawing I add a section of code that was used to load the data from the table (this method because...

View Article

Multiple IF in Field::inst

Hi I'm regularly using IF in my Field::inst Server-Script. But sometimes the SQL is constructed incorrectly (checking output in debugger). Then, after the "as" the fielname is missing and the IF...

View Article
Browsing all 2364 articles
Browse latest View live