Search
23531 results 3011-3020
Forum
- 10th Dec 2015DataTable sortable not woking in some columns;I have a table about dataTable ,there has one column I set the data 'null',then render it with the full data's compute result ;And I set this column "sortable:true',however,unfortunately,it don't working;some time,it working ,but,even if working ,the order is disorderly,It is no positive sequence or reverse order ;who can tell me what's reason ,thanks;
- 5th Dec 2015Header and body columns and row misaligned in Frozen columnHi I am using jquery 1.7 with primefaces 3.5 version for datatables with rowspan and colspan in headers in frozen column. when column freezed then header's row repeat with height='0' px dynamically. When removed these header's line by style ='none' then headers removed but row and column misalligned.
- 24th Nov 2015Columns search and horizontal vertical scrolling both togather not wokingHello, I have datatable 1.10.9 where i have used individual column search in each column, and tried to use horizontal and vertical scrolling, When i use //"scrollY": 400, //"scrollX": true, Then my serverside search is not working at all, means while input value in box, nothing happening. As soon as i mask above codes, search works fine, Any defect or problem? Thanks,
- 17th Nov 2015use orthogonal arrays data in columnsI've read about orthogonal data (https://datatables.net/examples/ajax/orthogonal-data.html) and nested objects (https://datatables.net/examples/ajax/objects_subarrays.html). Datas are provided via ajax. The question is how to combine this types together - I need to print out elements of array with orthogonal data, something like this: [ {type:customer, name: Name1, phone: [phone1, phone2], email: email1}, {type:supplyer, name: Name2, phone: [phone3, phone4], email: email2}, {type:customer, name: Name3, phone: phone5, email: [email3, email4] ] I've tried to use custom js function test for Column rendering: 'render' = 'test()' but unsuccesfully, it generates error: Uncaught TypeError: a[i[j]] is not a function, may be because data is provided by ajax.
- 29th Oct 2015How to make columns appropriately sized to the data they represent ?If the data to display is just a two digits number then dataTable still use big space to occupy for the data. How to make the column sized as the data ?
- 26th Oct 2015Export to Excel - the data doesn't show up in the correct columnsI have a ASP MVC app that returns search results in a data grid. When I selected a few data rows from a search result and export to Excel, the data doesn't flow under the correct headings in excel. Example field: (the address spans to 3 different rows) Address: 120 E 87th Street New York New York 10128 US
- 5th Oct 2015How to hide rows associated with columns when column is hidden using Toggle option?Hello I have a data table which is been used in conjunction with AngularJS. When I try to hide a column using the below code, it does hide the table column header. It does not hide the data associated with that column. I have not set any FixedHeader or made use of sScrollX or sScrollY. $(document).ready(function() { var table = $('#table12').DataTable(); $('a.toggle-vis').on( 'click', function (e) { e.preventDefault(); // Get the column API object var column = table.column( $(this).attr('data-column') ); // Toggle the visibility column.visible( ! column.visible() ); } ); } ); Before image: [IMG]http://i61.tinypic.com/33cad79.png[/IMG] After image: [IMG]http://i57.tinypic.com/2q2jvoy.png[/IMG]
- 2nd Oct 2015DataTable Header columns lines separatorsHi! (Sorry for my bad english) I have this datatable header: http://imgur.com/8A9HQon and want take of the lines between each column and get this: http://imgur.com/wAq8tDJ I want modify this in Css files but cant figure how do it,maybe need change some in the .Js but i dont have much knowledge about .js Anyone can give me a hand? Thanks you!
- 30th Sep 2015remove select for some columns (child row)Hello, I use the new extension select instead of tabletools which had a useful sRowSelect option. I don't want to select the row when I click to open the child row. Do you have an idea to do that? Thank you, Rodolphe
- 28th Sep 2015how to get columns parameters from request object as array at server side(action class)?I am trying to get request object's param directly in an array. param structure: columns[0][search][value]......etc and explain me about this param?.i mean is it an json like that. i tried like this in my action class, String columns[]=request.getParametersValues("columns"); but this returns null. Help me out!! and how to give line break here in this forum? Thanks!