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

How to resize columns with DataTables with the search inputs into the table...

Hi! I would like to know how can I make an auto-sizing of my table columns when I add search inputs into the table header. By the time the column width is fixed at 169px (probably due to the search...

View Article


Background colouring columns

Seems that colouring rows is popular but not so much columns. I wanted to be able to colour columns such that they are grouped together in sections - to mirror how spreadsheets are often used. I'd like...

View Article


Custom field type: how to get current editing row data?

Hi, A figurative example of my situation: my server returns data like this: "data":[{"DT_RowId":"8666","var1":"example","var2":"example"}] Now I have setup datatables which just shows var1 in a column....

View Article

Refresh data (JSON) from server source -- keep open rows open

I've got a parent/child dataset presenting nicely. The data does however change frequently. So I thought I'd fetch it from the server (a deeply nested JSON object) and pass in the updated data to the...

View Article

DataTable header

Hi, I am changing table header<th> element on fly. When I export data to csv or excel, new table header is not exported but the old one is exported. Thanks

View Article


Highlighting rows not working

I am trying to highlight rows based on the example here: http://datatables.net/reference/type/row-selector but the line that is supposed to add the highlighting:...

View Article

Is it possible to change the font on the information message of the DataTable...

Is there a way to change the style on the DataTable Editor info message? <div class="DTE_Form_Info" data-dte-e="form_info" style="display: block;"> Info Message </div> editor.message("Info...

View Article

Changing data source

I'm trying to dynamically change the data source. For example: var array1 = array of objects; var array2 = array of objects; var array3 = array of objects; var array4 = array of objects; var tableData...

View Article


Editor | JSP & Java Servlet examples?

Does anyone know where I can find a decent example of how to use Editor to act as a (CRUD) application? To this point, I have my table rendered, and have included the basic editing structure, now I...

View Article


Send CSRF token with datatable ajax

$('#invoices').dataTable({ "searchHighlight": true, "order": [[ 0, "desc" ]], "serverSide": true, "ajax": { type: "POST", data:{ 'request':'get_users_invoices',...

View Article

Datatables invalid json that's actually valid?

My json is passing validation. But when data tables pulls it from ajax I get the invalid json error. What am I missing? My json: [{"category":"","user_display":"","appchk_txt":"Driver's License...

View Article

Knockout.js 3.2 custom binding for DataTables 1.10x

I forked the work that Chad Mullins had done, along with some others that did not quite work right and made a bunch of fixes to it. The updated code can be found here:...

View Article

column width cannot be reserved (scrollX enabled) show, hide some columns

Same problem has been posted here and didn't get any follow-up. Other column width cannot be reserved (set up horizontal scroll bar by scrollX) after hide some columns Tested in 1.10.5 and latest...

View Article


Is it possible to connect datatables to Node.js server ?

Hi, can I ask is it possible to use datables to Node.js server ? Thank you in advance.

View Article

Typeerror f is undefined.

I have a table structure as mentioned here http://debug.datatables.net/oqitus I am getting a typeerror f is undefined when I load the page. What am I missing?

View Article


Getting table data in "preDrawCallback"

I need to get data before it is rendered on the table. My requirement is to have rows in table equal to selected length (10, 15, 25). So I need to add empty data to create the filler rows. Could anyone...

View Article

Current page lost on init when a language file loaded

Hi, I have discovered a bug : When I load a language file in the options : "language": { "url": "/json/dataTables.i18n.french.json" Then the current pagination is lost when refreshing the page, it does...

View Article


Transferring from an old server to asphostportal asp.net

I had all my asp stuff working and in good order when I used to be with host centric. I havent changed over my DNS pointers yet, thank goodness!!! Because I am having trouble coding for the...

View Article

Get column name given index and vice versa

(Latest API) I've been trying to get the index as follows... $('#theTable').DataTable().column('TargetDate:name').index() but returns an empty array. I've no idea how to get the column name given the...

View Article

Way to extend datatable sorting with out making call to server when server...

Hi, Recently we upgraded jquery plugin.We are doing server side pagination by enabling "bServerSide": true,. Now we are planing to do serverside processing and for cached data have to do sorting. From...

View Article
Browsing all 82288 articles
Browse latest View live


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