Search
23433 results 2981-2990
Forum
- 27th Jul 2016Horizontal Table Scrolling vs. dynamically making the columns adjust?Hi - I have a table here: http://www.vegfestwindsor.ca/2016-sponsors/ and I don't like how you have to horizontally scroll to see the last column info. If I de-activate the "allow horizontal scroll" button, then the words on the last column cut off. Is there a fix for this? Thanks
- 22nd Jun 2016More Row Columns and add Plus for detail automaticshello my problem was in detail of rows. in one of my project automatic + show to each row and that show details for rows but i used it in other project but on that the + wasn't show. how i can solve my problem?
- 17th Jun 2016orderData and specifying columns with class names rather than column indicesI'm trying to use orderData to sort via a hidden column. This works inside my columnDefs: { "targets": ['cleanup'], "visible": true, "searchable": true, "orderData": [ 12 ] }, However, I'd rather choose the sorting column based on its classname, such as { "targets": ['cleanup'], "visible": true, "searchable": true, "orderData": [ 'cleanup-timestamp' ] }, However, doing so gives me an Uncaught TypeError: Cannot read property 'sType' of undefined Is it possible to indicate which column I'd like to use as sorting criteria given its th's classname, rather than column index?
- 10th Jun 2016How do you wrap responsive columns? Column is running off the table.I have an example https://jsfiddle.net/wwisner/kbod2o1d/#&togetherjs=KmKCxN0RPH The row with Tiger will show that the column 'Very Long Description' is running off the page. I would like this column to wrap when responsive causes it to hide. I have looked through the documentation and can't find a solution. I tried to create a class and apply that class to the column but that did not work for me. .td-limit { max-width: 70px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } "targets": 1, "className": "td-limit",
- 8th May 2016how to edit columns text-align print pdfHtml5buttons: [ 'copy', 'csv', 'excel', { extend: 'pdfHtml5', title: 'Top 10 Album CDH', customize: function (doc) { doc.content[1].table.widths = [ '*', '*', '*'], doc.content[1].table.body = {alignment:'center'} }, download: 'open' } this my function button pdf, i have 2 column number but align on left, i want change to right
- 20th Apr 2016How to restore search state in column's search input?Hi, I save the state on a DataTable 1.10.9, and wanted to restore the search criteria below each column after a reload of the page. I tried to use the stateLoadParams event but is is never called. My other option is to use the stateLoad option, but I'm having trouble traversing the data variable. Any help is welcome, thanks Oliver
- 20th Apr 2016rowcallback fuction executes infinite times, when I am going to hide columns using fnSetColumnVis?This is really a big issue of using Datatable, Please suggest me the relevant answer
- 29th Mar 2016Stop striping when responsive collapses columnsHi guys I am using Responsive and autocollapsing. As soon as a column is collapsed, it is shown as a sub-row. When this happens, I don't need striping as the collapsed column provides a differentiator between the other rows. Is it therefore possible to turn off striping when at least one column is collapsed? TIA Del
- 14th Mar 2016How to auto update a column from other columnsFor example: I have column a, b, c and d. Column d will be hidden and the value = a + b. How can I bind column d with column a and b, so that whenever column a or column b is edited or a new row is added, column d's value will be automatically generated and write into database? Great thanks
- 10th Mar 2016Fixed Columns and DT_RowId and DT_RowDataHi all. I can't seem to find anything about this but it looks like a very weird issue with the FixedColumns plugin. * Included libraries: * DataTables 1.10.11, Buttons 1.1.2, FixedColumns 3.2.1, Select 1.1.2 I use serverside to get data and when I don't use FixedColums, or use FixedColumns with leftColumns set to 0 the is fine. The id and the rowdata are available. "fixedColumns": { "leftColumns": 0, "rightColumns" : 1 }, <tr id="row_15" class="odd" role="row"> When I use fixedColumns with leftColumns set to anything but 0, the is different, with no id or data. "fixedColumns": { "leftColumns": 1 }, <tr class="odd" role="row" data-dt-row="0" style="height: 30px;">