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

columnDefs php generated

How should I create this javascript columndefs - data with php? "columnDefs": [ { "targets": [0,1], "searchable": false, "title": "column1"}, { "targets": [2], "searchable": true, "title": "column2"} ]...

View Article


Search by two columns

Hi all, I want to search table by only two columns. E.g. Initial search searches in all columns, I just want to search by two columns. When I use following code: dataTable.columns(1,7)...

View Article


How to display computed column dynamically using Jquery Datatables

I am newbie to Jquery Datatables so please excuse if this is a dumb question . I was able to form Table using Jquery Datatables based on existing javascript resource . Right now i have got two columns...

View Article

MongoDB + DT: Group rows in a new parent row, save entire configuration, etc.

Some background info: I'm using a recent version of MongoDB. I use jQuery to send POST requests to the server in JSON format, and those requests are processed by PHP scripts. I'm building a...

View Article

Converting to a human readable format and sorting the date time values in a...

Update: I was able to solve the problem myself. I have HTML markup for a table as follows: <thead> <tr> <th>Name</th> <th width="20%">Count</th>...

View Article


Server-side processing "WHERE param = $my_param"

Hello Server-side processing work fine. If I want to add the condition in Server-side script "WHERE param = $my_param". For example i have user table (5000 rows) |id| - |name| - |age| and i wanna show...

View Article

jquery-ui: dataTables_scrollBody height and bScrollCollapse

option bScrollCollapse is true and scrollY is fixed why dataTables_scrollBody changes height even the vertical scrollbar is shown? example jsFiddle (change entrys to more than 10)

View Article

Magnific popup works only with the results of first 10 records of the page.

Magnific popup works only with the results of first 10 records of the page. Popup links do not work on the second and subsequent pages. Any help ?? sample Code : <td...

View Article


Datatables Responsive columns hiding offset

I use the auto hiding feature at the responsive Extension. The plugin work´s fine. But if i decrease the Browser width, the columns will be hide to late. I have on the left side of the table a sidebar...

View Article


Can't seem to reload the table (server side data) *Solved*

Hi, I'm pretty new to javascript/jQuery. So bear with me :) But I have set up a DataTable with server side using ssp.class.php and that works just fine. It's setup as follows:...

View Article

Exporting to CSV or XLS Problem with special Characters

I am trying to to export the table to csv or xls file but when trying to export it, i am always getting a result on the tables with html characters like "&deg" and "°" it should be " ° " does...

View Article

how to use ajax.url(''url").load() for post params

I am trying to use ajax.url('myurl').load() with post params.Since 'myurl' is a string I works well for get request.How can I apply the same to post? Here is my datatable: $('#example').dataTable( {...

View Article

fnGetNodes on DataTables

I have tables with n columns where 2 columns have check boxes. 1st column is the table level selection. 2nd has the check box that is related to the data. When i toggle the column level check box the...

View Article


Multiple Column Data Distribution on Datatable

Is there any way we can distribute the datatable into multiple rows without applying multiple tables? Right now, I have one data table listing an employee directory. When the name is clicked, it drop...

View Article

Sorting CSS classes not changing in IE8

Hello Every one, link for the js fiddle of my problem is here , http://jsfiddle.net/susheelv12/fzzzjcaL/20/ In IE8, after hiding one of columns in the table, sorting classes do not change on sorting...

View Article


How to display this Ajax JSON format data in Jquery Datatabes

I am new to Jquery Datatables , please excuse if this is a dumb question . I will getting this JSON format data (values will be changed ) continuously from backend for every 3 seconds [ [ "481.55",...

View Article

Make Datatables behave like a spreadsheet / Google sheet

What's the closest example that make a DataTables look like an editable spreadsheet? https://editor.datatables.net/examples/inline-editing/tabControl.html lets you edit inline and tab between columns,...

View Article


Customizing 'Previous/Next' and 'Show X entries'.

Situation: http://i.imgur.com/yLTd0Dc.png With this next line I managed to already change the "page number" images. $.fn.dataTableExt.oStdClasses.sPageButton = "mycustomclass"; I cannot figure out how...

View Article

Search - OR vs AND

I've got a simple jQuery DataTable that fetches a JSON object via an AJAX call and builds the table. When I perform a simple text search by entering data in the search box, I seem to get an OR search...

View Article

Pagination plugin for input not working

Hi All, I have all three jar files loaded - jQuery1.11.1, dataTables1.10 and input.js. But still I am getting TypeError: $.fn.dataTableExt is undefined and TypeError: plugin is undefined errors. Any...

View Article
Browsing all 35371 articles
Browse latest View live