Search
43637 results 7101-7110
Forum
- 1st Jul 2019Table only returning first letterHi, i'm currently learning javascript. I have a project for testing purpose, i wanted to setup mongodb as the data source and use datatables as to display the data on electron framework. So electron, mongodb, datatables combined. async function getName() { let result = [] try{ const name = await loadCollection() await name.aggregate({$match: {founded_year:2010}},{$group : {_id:"$name"}}).forEach(function(u) { result.push(u.name) }) } catch(e){ console.log(e) } console.log(result) return result } let datas = getName().then(function(x){ $('#table1').DataTable({ data : x })}) I have had a success on connecting those 3 modules. However, datatables is only getting the first letters of each data. here as you can see, in the console log my function outputs the array correctly which i believe means that there is nothing wrong with the backend. I can't find where the problem is. Hoping to get answers from you guys soon! Thank you
- 14th Mar 2019button click data table not workwhen i click the button (index):1311 Uncaught TypeError: $(...).DataTable is not a function at initial ((index):1311) at HTMLButtonElement. ((index):1304) at HTMLButtonElement.dispatch (VM1584 index.js:3074) at HTMLButtonElement.elemData.handle (VM1584 index.js:2750) it will show
- 11th Mar 2019how can change the default sheet right to left option in my data table when i export to excelwhen i try to make an excel files from the datatable, always the excell come with ltr option . how i can change it to rtl by default when i make a excel file from my datatable options
- 21st Feb 2019Database Oracle 11g connected by ajax in my data TableI'm creating a project, which looks for information in the Oracle 11g database, I make connection usually using php, I can return the information from the database. Okay until this moment everything is working. I can not create a php to call with ajax so that it fits together with the dataTable site examples. I checked that there are tutorials teaching the ajax connection using mysql, I can handle mysql because its commands are known on the internet. Oracle are different and finding them is very difficult. I would like to see with some members, if you have already performed projects that require oracle and ajax at the same time. Exemplo abaixo utilizando mysql More detailed in this link, has the source codes https://www.webslesson.info/2018/09/add-server-side-datatables-custom-filter-using-php-with-ajax.html If you can provide me with a project that does the same function as above link, using oracle I am grateful
- 22nd Nov 2018Data table export PDF download failing in IE BrowsersI have implemented data tables (1.10.13) and used buttons.HTML5 , dataTables.buttons.min(1.2.4) plugin to export pdf,csv functionality. I am facing one issue like, in Some of IE Browsers PDF or csv working fine (IE 11 Update version 11.0.40 or greater and less than 60). where as pdf or csv is not exported properly in IE Update base verison i.e, 11.0.7 or less than 11.0.40 and greater than 11.0.60 for ex: 11.0.80. Export pdf of csv is not working. I am getting message PDF/csv couldn't be downloaded issue. is it IE issue or the library is not supporting export? Regards, Suresh V
- 4th Apr 2018clicking TableTools buttons resets my table data and display only table headingslt;/div> </div> <table class="table table-bordered datatable" id="table_export"> <thead> <tr>
- 24th Mar 2018how to add inner table to row group?Hi, I hope you can guide me. I wonder if this is possible using datatables? (dummy data) using the rowgroup extension the most I've got is this: excuse my bad english
- 21st Feb 2018Set class with columnDefs only on body and not the table header?Hello, as the title says, I am using columnDefs to assign classes to my columns. However, those classes also get applied to the column headers. Is there a way to avoid that, or set classes specifically for the headers?
- 1st Feb 2018Scroller Disrupts Bootstrap Theme Color For Table BodyScroller always sets background color as white and this property disrupts datatables theme color. https://jsfiddle.net/o70pw48x/4/ I think this is a scroller bug.
- 29th Jan 2018DataTables wrapper classes appended twice when doing table refresh $tableId.dataTable().fnDraw(true)Hi -- I have 3 tabs and each have server side data tables. On initial load I don't see any issue. But, If I click second tab and come back to first I see DataTables wrapper div is appended twice and I am getting datatables warning requested unknown parameter 1 for row 0. Any thoughts? This dataTable warning is related to DataTables wrapper div? Thanks.