Trying to stylize DataTables using Bootstap 3 in Drupal 7
I'm using Drupal 7 with the DataTables module installed and it works great, but I need to stylize it with Bootstrap 3, which is integrated into my theme. How (and where) do I add the bootstrap css...
View ArticleNatural Sorting Not Working
Hello, I am working on a price comparison table, and I have a few features that I would like to add. I am sorting in descending order by the discount column, which is hidden (but the value is displayed...
View ArticlePerl query using JSON
I haven't worked with Perl or Javascript in many years so please excuse any odd programming I might have done. Most of the JS was borrowed except for the addition of grabbing the row ID and appending...
View ArticlekeyTable and autoFill - a few corrections
We have been testing the operation of KeyTable and AutoFil. In connection to this, we have comments. We suggest to enter below corrections or give us tips, how to fix it. We have been trying various...
View ArticleUnknown Parameter Error for row 4, column 1 error.
Hello, I was hoping someone could help me with an error I'm having with my code. I keep getting an "Unknown Parameter Error for row 4, column 1 error". It's weird because I get the pop-up error, but my...
View ArticleWhy is the API context element an array? When would there ever be more than 1...
This is really just out of curiosity, but when I initiate a table and poke around the DataTables object, I find the context element: var dt = new $.fn.dataTable.Api( '#example' ) dt.context // Array...
View Articlelower sorting arrow
Hello, I have a problem with datatables. Unfortunately I will not see the lower sorting arrow. What could that be? http://bootstrap4.allmendeweg.de/test_tabelle_datatable.php
View ArticleDatatables history URL browsing Serverside
Hi, I have added server side browser history support for my Datatables (paging, sorting and search terms) and I would like to share it. You can see an example of the code in my site...
View Articlerow().scrollTo() not working
Hi I am trying the example for scrollTo and does not seem to work https://datatables.net/extensions/scroller/examples/initialisation/api_scrolling It should point to record 1000 but does not move...
View ArticleHow to use DataTables to render server side data (not ajax)
Hi, I need help. I am working on my very first web development project, there're a lot of data I need to organize and show nicely to user. This is all the code for this page <body> <%@ include...
View ArticleIs it possible to make the table expandable and collapsible?
My table right now is a Row Grouping table. $('#items-table').DataTable({ 'lengthMenu': [[10, 45, 80, -1], [10, 45, 80, "All"]], 'columnDefs': [ {//hide the index 1 column, which is company name...
View ArticleAccess cell data from selected row
I could use a little insight on .rows('.selected').data(). I need to access cell data from a selected row but I can not even get past to accessing the TR data. My following scripts returns [object...
View ArticleInline select list or radio button
Looking through all the examples I see that you can set up select lists, radio buttons, and similar that can be accessed when you click on the "Edit" button and open the update options in a pop-up box....
View ArticleConfused about fnServerData
I'm trying to implement server side processing using DWR. With this itialization of my datatable: $(document).ready(function() { $('.ajaxDataTable').dataTable( { "processing": true, "serverSide": true,...
View ArticleChange to inline edit on next line with press of a key [local & serverSide...
Hello, I would like to post a test case but I have no idea how to link server-side scripts to the live site. In a nutshell, while in inline editing mode, pressing enter should trigger a function that...
View ArticleEdit row and column in table header which has multiple rows
I am just not finding this. Probably due to me thinking the wrong way... I have a table with 2 Header rows. The first row has 5 cells with the column titles. The second row has 2 cells using colspan of...
View ArticleProblem: one-to-many join, need to display multiple checkboxes per editing row
Hello, I must replicate almost exactly the functionality from this example: https://editor.datatables.net/examples/advanced/joinArray.html The only difference is, I'm not using an AJAX call, but rather...
View ArticleHow do you get row reordering and a select in editor requiring a joined table...
I've gone round and round with this trying different things unsuccessfully. The goal is to use a secondary table to create a select list in the editor (New) while at the same time row ordering is...
View Article