Quantcast
Channel: Recent Discussions — DataTables forums
Browsing all 82019 articles
Browse latest View live

fnGetCurrentPosition and fnSetPosition index mismatch when using RowGrouping

With version 1.1.7, if I set an event to call fnGetCurrentPosition on click and I click on the topmost cell, it returns 1. The cell that fnSetPosition refers to as 0, fnGetCurrentPosition refers to as...

View Article


Nothing seems to happen when I click on the open details icon

Any help would be much appreciated.. <script type="text/javascript" language="javascript" src="js/jquery.js"></script> <script type="text/javascript" language="javascript"...

View Article


Column filter with selectors at top of table?

Thanks for this great software! I am total noob, so forgive simple question. I have table column filter/search working - with the selectors in the footer. Works like a charm....

View Article

table.dataTable tr.odd not working for 1st column

Hi, I am trying to change the color of rows in datatable using the below CSS. table.dataTable tr.odd { background-color: #E2E4FF; } table.dataTable tr.even { background-color: white; } This change...

View Article

Datatables column header not expanding automatically

Hi, I have a datable inside a tab. My application has a left pane and a center pane. Center pane displays the data table and left pane is used for browsing. My left pane is collapsible, but whenever I...

View Article


Fixed Header Scrolling problem

Dear, I have create a table using datatable plugin, and use the Fixed Header Extra. and put this table at div with [overflow : auto], when column exceeded the div width, it create a horizontal scroll,...

View Article

Getting column index from sName

Is there an easy way to get the index of a column from the sName of that column? Something like: var oTable = $('#example').dataTable(); var iColIndex = oTable.fnColIndex("exampleColumn"); alert(...

View Article

Changing page or length of the table

I'm fairly new with DataTables, please bear with me :) My table has links in some of the table cells. I catch clicks on them and do some stuff: $('a.test').click( function () { console.log("clicked");...

View Article


No "public" API for ajax related functions

When I dive into the source code of DataTables, there are a lot of "private" functions defined for ajax related, which have a name starting with _. As naming convention, suppose they are "private"...

View Article


Is TableTools supposed to post back?

When I click the CSV TableTools button my page does a postback. I don't think this is supposed to happen. What am I missing? DT1.9.1 is what I am using. Thanks! Robert

View Article

How to clear table

Initialization Datatables, and return an object : var oTable = $('#example').dataTable(); I try call oTable.fnClearTable() to clear table. But the data still exists , and after calling fnClearTable(),...

View Article

Bootstrap modal ESC

Hi, When I hit ESC to close the bootstrap modal, my on.("click") functionality to trigger an editor from the data table doesn't work anymore. Why? N

View Article

TableTools cdn?

Today I discovered that TableTools and the recently released jQuery-UI v1.9.0 have a major problem working together. I've resolved it by downgrading jQuery-UI to v1.8. But I would have liked to show...

View Article


Elipsis and IE 9

I have a table which has a very wide column. I am attempting to fix the width, show an ellipsis and use a tooltip to display the full text on a hover action. This is a css thing really. I set the width...

View Article

Sorting on hidden data

Hi, I am using mRender to draw a bar chart of a value. How can I sort this column of bar charts, based on the value of val? { "mData": "PCx","sDefaultContent": "", "mRender": function(val,type,row){...

View Article


Dynamically created header/footer

Hi Allan I am generating aoColumnDefs server-side and then rendering as normal. For some columns I would like a select filter header, for some an input filter header and for some no filter. I have been...

View Article

Variable on ADD

Hi, When adding a record I need to insert the OwnerID (parent table). Should I use a HIDDEN field for this? If so: how do I insert the current session['OwnerID'] in the javascript (I use external .js...

View Article


Infinite Scroll scrollbar not always appearing

Hi Allan When using infinite scroll, if the height of the default number of records is not > sScrollY no vertical scrollbar appears. Is there a workaround for this? My config is "bProcessing": true,...

View Article

Drag/drop rows between two datatables

Is there any way to drag drop rows between two datatables populated through ajax? Thanks, Pravin

View Article

How to style (CSS) "bProcessing", "bInfo" and the search...

I'm pretty n00b at this and I'm working the whole day on importing skins. Doesn't really work :S, but anyhow, I designed my own. Now I just need to place the Processing... text, and the Search [...

View Article
Browsing all 82019 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>