How to display the records/entries of datatable based on setting of...
i have written a sample code like as below.. My intention is that based on the value(page number) entered in the textbox and i want to set the iDisplayStart value. Could any one do please assist me on...
View ArticleStoring default configurations in a js file
Hey there. I have a small issue where I need to save dataTables configuration in a single js file so that I can include that file to get all my settings easily. Here is what I have so far: /* Set the...
View ArticleCan't get dynamic table loaded with JSON to work to save my life.
I've tried a million combinations. I initialize the datatable on document ready; $('#occTableData').dataTable({"sPaginationType": "bootstrap"} ); Here's the HTML: <table id="occTableData"...
View ArticleRow details assign DOM object and not html
I'm trying to get the example from the forums to work http://www.datatables.net/forums/discussion/2812/row-details-assign-dom-object-and-not-html/p1 var nNew = oTable.fnOpen( nTr, '' );...
View ArticlefnComplete callback doesn't fire if Cancel Pressed
I'm having the same problem described here: http://datatables.net/forums/discussion/9355/tabletools-callback/p1 is there any solution to this? I've tried work-arounds but can't seem to attach an event...
View ArticleUsing pre-compiled javascript templates to render cells like Slickgrid
Is there a way to render html inside of a table cell i.e. use the compiled template as content? Similar to how Slickgrid does it using formatter parameter. Like in their example here:...
View Articleanother complex header alignment issue
We have some complex headers not lining up with the data, here's a screenshot: http://d.pr/i/IkbC This is a dev server in constant flux, but here's a link:...
View ArticleDisable selected (sorted) column highlighting.
Seems like this should be an easy one but I can't locate the answer. I'm using datatables 1.9.4 with the bootstrap as discussed in this blog post http://datatables.net/blog/Twitter_Bootstrap_2. I've...
View ArticleChange sLengthMenu from dropdown to somethign else
Instead of having a drop-down for the sLengthMenu I would like to have a series of <a> tags, like the following: "sLengthMenu" : '<a class="length_button">25</a>' + '<a...
View ArticleSelect rows limits?
Is there a way to select maximum number of rows per table instead of doing as many as you want? Using this http://www.datatables.net/release-datatables/examples/api/select_row.html
View ArticleUsing aoData.push with POST
I looked everywhere and couldn't find an answer so I thought I'd ask! I'm trying to post the value extradata to the workouts.php file using the aoData.push. I can receive it in workouts.php when I use...
View ArticleExpand/Collapse all row details, next page
Thanks in advance. I have been looking through the forums and really have not found an answer. This discussion...
View ArticleAPI to add or disable a button
I was trying to disable, add, or remove buttons. "oTableTools": { "sRowSelect": "multi", "aButtons": [ { "sExtends": "editor_create", "editor": editor }, { "sExtends": "editor_edit", "editor": editor...
View ArticleHow to serialize selected checkbox value in every page?
Hi, I would like to ask how to serialize selected check box value in every page? Below is my configuration: $('#list-item').dataTable({ "sAjaxSource" :...
View ArticleTypeError: oCol is undefined on row click
Hello everyone! I'm having a problem with a table of my project, the #grdInviTable Here's the debugger link: http://debug.datatables.net/uqaqic And here's datatables live:...
View ArticleColReorder 1.0.8 Problem / js error
i have a complex application running, fine with colreorder 1.0.6 but not with 1.0.8. the problem occurs when you have a datatable with hidden columns and use colreorder and state saving , and destroy...
View ArticleEditable hidden row and write-back to SQL server
Hi All, New to Datatables but just switched from Gridview and absolutely love them - i'm restricted to developing in vb.net so i have a question RE: hidden rows. My page is loading as follows: I have...
View ArticleHelp > DataTables won't field search after added SQL codes
Hello, I'm a PHP programmer and needs help with your code. I've added SQL that fetch the data from my database, everything works except for the multiple field search. I don't know what's wrong. There's...
View ArticleProblem with filtering and displaying issue
Hi there, this is my first time using DataTables, so my understanding is quite limited right now. Ok , following: I do retrieve data from a mysql database using following php code which i copied...
View ArticleHow to avoid a second ajax request
Dear community, After looking around I found several disussions which are also treating the problem that an ajax request is done twice when using server side processing. For example:...
View Article