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

Datatables - Buttons Applying Custom Style with Icon (Bootstrap)

Hi all, I am using the datatables Buttons plugin to export to pdf. I am able to use custom styling to the button using the following code : "processing": true, // for show progress bar "serverSide":...

View Article


How to refresh table #2 when table #1 has been edited?

I have a subtotals table and a details table. I need to force a redraw of the subtotals table after any cell in the details table has been edited. (The server updates the subtotals table by using post...

View Article


lengthMenu is hidden when dom/buttons are enabled, need help

I'm not sure what's happening here but when I'm wanting to create records I can do it without a hitch, however there are instances where I want to display more than 10 records at a time, so I enabled...

View Article

Unable to get property 'length' of undefined or null reference

Hi, I have a Problem to show data in the Table. I think, i get the Data in the correct json format, but the consolelog show me the error that written in the subject. I have uploaded for debugging, but...

View Article

Pagination with Huge Datasets

Hi, I have a Database with more than 10000 Dataset, that I should listed. If a user use this list, the Server sends all results and Datatables makes Pagination as settings. Is it possible load the 1st...

View Article


Table Header

Hi, When I click on a link to see a data table, the complete title line is displayed first. With the columns which are supposed to be invisible. I think the users are confused when they first see the...

View Article

Date format and sorting

I'm using moment.js to sort the date in dd / mm / yyyy format, but as you can see from the debugging, does not recognize the date field on which to apply the formatting but the two empty fields used...

View Article

Columns.Render - Accessing data for more than 1 column in the render function

Hi all, I am using datatables with server side rendering and my render function is as follows for a column in my table : { "data": "Errors", "width": "5%", "orderable": false, "render": function (data,...

View Article


Ordering

Hi, I have a table that shout ordering by country. my Problem is the sorting did not work because I get following json: { "data": [ { "uuid": "9842667f-96c5-454b-aa58-ee689bf5d542", "name": "sa",...

View Article


Show column if you have the rights

Is it possible to show some more column if you have the rights for that? I have written the rights in the $_SESSION. How can I read the $_SESSION rights with js. I do it with following line on the of...

View Article

Bug in Excel export?

I recently upgraded to the latest releases of Datatables, Editor, and a few other plugins and I noticed now that I get an error when I try to programmatically export to an Excel file:...

View Article

on('postEdit', function( $editor, $json, $data ) Lock wait timeout exceeded;...

Hi! I need to use postEdit function to update another table of my DB as follow: $data->on('postEdit', function( $editor, $json, $data ) { global $conn; $ordinato =...

View Article

Join table example

I'm trying to display data from linked tables. As an exercise, I tried to recreate the example on this page: https://editor.datatables.net/examples/simple/join.html This is my result:...

View Article


search in multiple columns

Hi, It seems than I cannot find how to use the table.columns([0, 1, 2, 3]).search().draw() method properly... When I tried it, it doesn't gave me the result I expected... My simplified JS code look...

View Article

Pass additional meta-data to columns configuration

Hi, referring to this post, is there any way to add some custom additional data (I specifically need to add relationships and aliases to table fields) to every column in datatable configuration? Thank...

View Article


Problems with 2 datatables on the same page and filtering

Hello, i have 2 different datatables on the same page and i have 2 diferent forms to filter the data of each datatable. I`m using the $.fn.dataTable.ext.search.push() method, and it works fine when...

View Article

How to setup multiple independent data tables on single page? Calculated...

I am using version 1.10.7 of DataTables. I have five data tables on a single web page that are independent. They all pull from fixed AJAX sources. I have the data loading great. But there ends up being...

View Article


Angular 2, DataTables, and Pagination using DataTables.net-bs

Hello, I'm currently writing an application using Angular 2 and have it configured to use DataTables.net, DataTables.net-bs, and DataTables.net-select. For the most part, everything looks and works...

View Article

Datatables server side processing is slow

Hi, Server side processing for datatables are very slow, i think it's filtering all records for only 10 records pagination. How can i avoid server filtering all records? [{DT_RowId: "row_206599",...

View Article

visible: function

I need some columns to invisible if the rights are not given. I tried to do this, but that did not work. { targets: 8, visible: function(data, type, row){ return (data.recordRights == '1')? true :...

View Article
Browsing all 2364 articles
Browse latest View live