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

ColVis with column name instead of Index

Is it possible to use the column name instead of index when trying to hide a column, using the new DT API? So instead of this: "colVis": {"exclude": [17], "buttonText": "Columns"} I could use something...

View Article


ColVis display issue (with bootstrap 3)

I'm using the css and js examples in the "basic initialisation", and I can see it working on the datatables example page. However, for me when I click on the "show / hide columns" button, the text and...

View Article


Sorting columns by Numeric Value containing HTML and Text

I have tables with data in such as: <td><span class="label label-primary">$9.77 PKA</span></td> <td><span class="label label-primary">$11.14...

View Article

Datatable 1.10.1 breaking on scrollY

I'm applying the latest version of datatables to my system and as soon as I add "scrollY":"300px" to the parameters, my datatable crashes and I can't load any data. This is the way I'm loading...

View Article

DataTables 1.10.1 and ColReorder 1.1.2 order error

When I set .dataTable({ order: [0, "desc"] }) and there is no saved state, I get an error "columns[oState.order[i][0]] is undefined" in ColReorder-1.1.2.js at line 792: oState.order[i][0] = columns[...

View Article


How 'start' value computed in DataTable pagination?

Hi All, I have 87 records returned from the server. Initially I have paging of size 20. So a) In first call it send (draw=1, length=20, start=0) b) Clicking page 5 it send (draw=2, length=20, start=80)...

View Article

how can i display selected value in dropdownlist in popup window?

Hello, I want to impletement this with codeigniter. I have join table and enum data type. I want to create crud. create,update,delete,view. I have one "status" enum field and it's value is 'activ'e and...

View Article

How do you format a number for numeric cells?

For datatable 1.10.1, I'm trying to render numbers with 2 d.p. and with the relevant commas. I'm using Ajax to load the data into the table. Thanks, ARK

View Article


DataTables 1.10 in Google Apps Script (Caja issues?)

Hello. I'm trying to use DataTables in a Google Apps Script. I'm using the fixed columns plugin to lock in the first column. Everything works fine, except the "Show entries" select box is broken. If I...

View Article


DataTables 1.10.2 Having Troubles loading jquery.dataTables.css from Directory.

New Datatables user here, i have just uploaded the Datatables directory onto my server, they are in the /var/www directory of my website. However the CSS formatting is not working on the html table,...

View Article

Custom column sorting logic?

I have a datatable that I would like to sort on a column that shows the available and total count of something. Example: "25 / 100". I would like to sort by the percentage of the total, not the actual...

View Article

How i use Datatables server side processing

This is my data, i want to populate it through data tables using server side processing, i am beginer in programing as well as on datatables. any help would be appriciated. S.No Date Invoice# Customer...

View Article

Hiding TableTools buttons

I am trying to hide the TableTools buttons. I still want the row select functionality but wish to NOT display any of the buttons. The code snippet shows how I have initialized the tools: "sDom":...

View Article


Why does a dataTable.editable record not get selected when it has the correct id

I'm using server side processing of the data for my data table. After debugging the with the DataTables debugger(http://debug.datatables.net/uyixol) and firebug I found that the ids appear to be...

View Article

Colvis not working with $.fn.dataTable.ColVis( table )

var colvis = new $.fn.dataTable.ColVis( table ); This is not showing colvis on the page. If I add a "C" to the dom, it will work. Anyone know why it's not working? Here is a test case....

View Article


Updating the ajax.data and reloading the datatable

I have a datatable (1.10) that uses an AJAX data source, which accepts a parameter, as below: var table = $('#example').DataTable( { ajax: { url: "http://example.com/end/point", data: {"id": "12345"} }...

View Article

Datatable freezes for few seconds

Hi, I am using jquery layout where I have two datatable in center and south panel. I am loading 200 flights for each data table with fnRowCallback function. But when it starts create the row browser...

View Article


Mouse pointer when mouse over row

Hi, What should be done to get the mouser adopt hand-finger-shape when mousing over a row in DataTables? I have a table where user can click over any row to select it, and I would like to highlight...

View Article

DataTables sends too many requests when using Scroller

Hello, I am using DataTables with Scoller and for the most part it works great. I have one system where there is a lot of calculations being made and the loading takes about 20 seconds to get a result....

View Article

Rails 4: ajax-datatables-rails problem

I am facing a server-side problem with datatable. I have posted a stackoverflow query here:...

View Article
Browsing all 35377 articles
Browse latest View live