Search
23432 results 2751-2760
Forum
- 24th May 2018DataTables rows appearing with POST requests but disappearing when sorting the columnsHi @asdutoit, The problem is that you're adding the row to the jQuery table, and not to the DataTable instance - this mean DataTables has no knowledge of it and hence the inconsistency you see with the record count. The best way to do it would be to use the API method row.add(), that way DataTables knows it's there. Cheers, Colin
- 21st May 2018Header issue with scrollX and Fixed Columns.Okay i fixed that by adding a background color, apparently it was transparent. This is great now, thank you all so much!!!!
- 20th May 2018Using PHP to query a MySQL DB within the datatable `columns: [`Thanks, I should have thought of that! :smile:
- 25th Apr 2018Rearranging columns highlights all text in tableHi both, I just tried it here, http://live.datatables.net/welunalo/1/edit, with two tables initialised with minimal configuration, and I'm not seeing any highlighting, so it must be something specific to your customisations. Would it be possible please to create a similar test case that demonstrates the problem? Cheers, Colin
- 24th Apr 2018Numeric range search min max from 2 columnsThanks Colin, really helped me out,
- 20th Apr 2018How Can we change the Width of Input filters of Columns in Data-tablesthead select { width: 70%; }
- 6th Mar 2018How to sort 2 columns by date with different formatHi, This thread here may give some clues, another user had problems and it turned out to be a combination of a badly defined format, and multiple formats within the same column. It would be worth checking that with your data. If that is all fine, it would be worth doing a live example here, so we can see the problems with the formatting. Cheers, Colin
- 28th Feb 2018Sort multiple columns by defaultYES! The"order": [ ], did the trick. As that is the simplest solution, I will use it. The data is annual, so the data does not need to be regenerated. Thanks so much for your help.
- 18th Feb 2018Change vertical listing of columns in colvis collection to horizontalHi jbhola, This page shows an example of two-column layout. The default CSS goes up to four-column, div.dt-button-collection.four-column { width: 600px; padding-bottom: 1px; -webkit-column-count: 4; -moz-column-count: 4; -ms-column-count: 4; -o-column-count: 4; column-count: 4; } You could modify this with your own that would then take it to six-column, which would provide the layout you want. See this example, this is a rough horizontal listing, but it shows what can be done. Cheers, Colin
- 2nd Feb 2018How to add columns dynamically to Datatables??This question gets asked quite often so I created this example: http://live.datatables.net/fafuyeyu/55/edit The is only a table tag created. It uses columns.title to set the column title. It builds the columns.data from the keys returned in the first JSON object. However you could have your server script return this info. Kevin