Search
43891 results 7191-7200
Forum
- 19th Aug 2016Export text block before table dataHi, I'm showing some queries results with datatables component and it works perfectly fine, smooth and nice. The only thing I couldn't do is to export this queries parameters (i've tried assigning the text to the "title" attribute by using a hidden field but this didn't work). This is a requirement for the development i'm facing right now and just can't find any example or thread that help me deal with this task. I think I'm not the first developer trying to do this, could anyone point a finger to the correct direction please? Thanks in advance! MG
- 12th Aug 2016Data table column rendering with ajax responseI am trying to render column contents with ajax response but it doesn't display anything in the column despite ajax response returning data, { "width": "20%","targets": 6, "defaultContent": '', "render": function ( data, type, row ) { if(row.colData !=''){ $url="server request url"; var ret= row.colData var aydGuid=row.guid; var params = {relatedHID:ret,guid:aydGuid}; $.ajax({ url: $url, async: true, data: jQuery.param(params), dataType:'html' }).done(function( data ) { alert(data) //displays response return data //does nothing }); }
- 12th Aug 2016Table Header is not showing in exported PDF/EXCEL if I am using column search option.hi all, I am a new user to dataTables. I am exporting PDF/EXCEL by using buttons. Here facing one issue. if I am using column search option then header columns are not visible in PDF/EXCEL. Can u please help me. Thanks in advance. here is my code: $('#exampleList thead tr#filterrow th').each( function (exampleListId) { var title = $('#exampleList thead th').eq( $(this).index() ).text(); { $(this).html( '<input type="text" style="width: 90%;" id="exmpl'+exampleListId+'" placeholder="Search '+title+'"/>' ).focusout(function (e) { window.flagfocus=true; window.searchColDets.push({ "column": e.target.id, "value": e.target.value }); }); } }); Party Code Type Party Name City Party Code Type Party Name City
- 20th Jul 2016how to get data from table while click the button at every timeI need to store all required data from server at once and store into the tables.Then i want to get 100 document from every click
- 19th Jul 2016FixedHeader appearing below tableFixed header only appears below my datatable, and only when I resize the window. It seems to be appearing just before the end of the html body. What might be wrong?
- 5th Jul 2016how can i add the following line in the heading format in the data table.Proposed rates = Cubic Allowance 333
- 1st Jul 2016Why search box not fetch data in the tableplz help me..
- 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",
- 27th May 2016data table bootstrap not lining up when dom: usedEverything looks great if i use the defaults, but if i want to add buttons and use the dom attribute to specify which controls should show, the controls no longer show on the same line but on different lines. Example: Just using the default it lines up nicely like this: http://screencast.com/t/QKT5E8Qs but if i add buttons and declare dom: 'Bfrtip', buttons: [ 'copy', 'csv', 'excel', 'print' ] All of the controls are now on their own line like this: http://screencast.com/t/B8PQr2gC10A How would i go about getting them lined up nicely like the default shows
- 25th May 2016how to restrict the number of pages using data table pagination ?for example i have 100 records , 10 records for each page. i want to display 5 pages and on click of next/last displayed page no the next set of data has to be displayed.