No of total rows count shown at the bottom of table is wrong and it is more...
There are only 5 records in the table but it shows '1-6 of 6 entries' at the bottom of the table.
View ArticlefnRowSelected is not working as expected
Hi friends, Please find my code below. I am not sure why fnRowSelected is not working. I am not getting any alert while selecting a row. Any help on this very much appreciated. try { var pdlJsonObj =...
View Articlegetting data using cell().data() not working for thead and tfoot
Hi all, I'm trying to get data from a specific cell in my tfoot. However, trying to get it using cell().data() and an id-selector does only work for the tbody. See...
View Articlebootstrap table-condensed doesn't work when using ajax call
Hi, Has anyone else had an issue when loading data via ajax. Data loads fine but the table isn't condensed as it should be. When loading the data normally the table is condensed fine? Anyone had...
View ArticleChild Rows
Hey everyone, I am trying to add the "child rows" to my current datatable. I tried to follow the example shown here: https://datatables.net/examples/api/row_details.html but it seems as though it...
View ArticleHow to refresh datatable after adding new TR's to table.(HTML (DOM))
Hi everyone! Quick question, I am using javascript to add new rows(TRs) to a datatable. When I try and use datatables functionality like Sorting, the rows disappear so it seems like I have to...
View ArticleNew API 10.1 set column width to fixed value
Hello, how is it possible to give a fixed column width to one or more columns in DT. I'd like to do it with the new "Datatable API". All Try's i made (see fiddle) did not work....
View ArticleSource data and columns from ajax
My data is variable columns. I can respond with data and columns definitions through json format. How can i receive both in datatables and what is the format which will be used?
View ArticleFixedColumns and highlighting entire row not working
Hi, In this example : http://datatables.net/extensions/fixedcolumns/ The highlighting doesn't looks good, the fixed columns are highlighting independently from the rest of the table. I tried the...
View ArticleHow can I populate a dropdown for my editable DataTable?
I'm doing this: editor = new $.fn.dataTable.Editor({ ajax: 'url', table: '#invDetailsTable', fields: [{ label: "Location", name: "location", type: "select", options: locationList }] }); locationList is...
View ArticleServer side and columns filter with text input
Hi, I'm working with laravel, and i use a plugin https://github.com/bllim/laravel4-datatables-package who allow me to easily work with datatables. But, i need to add text input in the table and allow...
View ArticleUsing a Form Field to Update DataTable
Hello Everyone. Please be kind as programming is not my "day job"! What I've created is a page that has a form. Using jQuery Autocomplete that form triggers a request to return data from MySQL and...
View ArticleRowCallBack does not change text color on row?
Hi, I have a simple function that is intended to change the foreground color of a row depending on the value of a column. Here's my code: $(document).ready(function() { $('#tblResults').dataTable({...
View ArticleI'm having a problem changing the default sort order on a table.
I've used the example from the documentation - $(document).ready(function() { $('#example').dataTable( { "order": [[ 3, "desc" ]] } ); } ); But it still the first column which is being sorted. any idea...
View ArticleHeader alignment
In the example on datatables.net the column headers do not align with the data in the table (http://imgur.com/fyo6XOB). I tried to change this with CSS but I can't get rid of that extra space. I...
View ArticleCheck box
Hi I am trying to add check box rows to my data table column which basically loaded either selected or not selected based on column value (i.e column header value = Y, selected, else not selected), but...
View ArticleAdd a new row to the top of the table.
I have created a method "addNewRow " for adding row to the top $.fn.dataTableExt.oApi.addNewRow = function(oSettings, data) { var that = this; oSettings.oFeatures.bServerSide = false;...
View ArticleRefresh a datatable after delete a record
i am written following code for displaying datatable. but how to refresh datatable after delete operation var oTable = $('#example').dataTable({ // "bProcessing": true, "iDisplayLength": 9,...
View Articleinsert a non-database field on server side datatable
here i have some code /* Array of database columns which should be read and sent back to DataTables. Use a space where * you want to insert a non-database field (for example a counter or static image)...
View Article