Search
23531 results 3021-3030
Forum
- 22nd Sep 2015Custom checkbox does not toggle to checked/unchecked on Fixed ColumnsDeleted
- 17th Sep 2015Column Filter does not work after reordering columnsI'm using the latest code for DataTables and ColReorder, but when you reorder a column and then try to filter on it, the wrong results are displayed. Example posted to http://live.datatables.net/negomese/1/edit?html,js,output Click Run with JS, then reorder the Position Column to the far left. Then try to filter by Position (at the foot of Position column) e.g. Software Engineer. No results are displayed. Do the same thing without reordering the column and 7 records are found.
- 14th Sep 2015csvFlash problem with num columnsHi, I'm wondering if there's a problem with my code or if there's perhaps a bug in buttons.flash. When I try to export to csv using the built-in csvFlash button, the code crashes at line 535 in buttons.flash.js: boundary + a[i].replace( boundary, '\'+boundary ) + boundary : Because the array a contains an int and not only strings. This array comes from the toArray() datatables function earlier. I initialized my table with data from a javascript array. Replacing the above line with: boundary + (a[i] + '').replace( boundary, '\'+boundary ) + boundary : works but is not a great solution. Even setting all column types to 'string' does not work. Any other suggestions? Unfortunately, I'm unable to provide a testcase using live.datatables.net as buttons.flash can't be selected as an import. Grateful for help, Anders
- 2nd Sep 2015Dynamic Columns Add/RemoveI have seen a few topics throughout the forum on this topic. I use .NET and MS SQL to deliver content to the browser. The user can can customize their column order and show/hide. I see you need to define your table headers in advanced. What is the best Solution to accomplish this in DataTables? Thanks
- 28th Aug 2015reindexing search columns after updating a cellHi, I have this example table <table id="example"> <thead> <tr> <th></th> <th>Name</th> </tr> </thead> <tbody> <tr> <td data-search="starred"><button class='js-star' /></td> <td>Some dude</td> </tr> <tr> <td data-search=""><button class='js-star' /></td> <td>Some dudette</td> </tr> </tbody> </table> $(document).ready( function () { var table = $('#example').dataTable(); // ... } ); now if i search for "starred" I will get the row of "Some dude" but then if i click on the button ".js-star" it will make an ajax call and then set data-search="starred" for "Some dudette", However, If i search again for "starred" then "Some dudette" won't show up. I have read ajax api solution and even tried to update it with fnUpdate also the solutions in this thread but still getting the same result. What's the solution here? Thanks.
- 24th Aug 2015Filters columns not responsiveHi, I'm using this https://datatables.net/extensions/responsive/examples/styling/bootstrap.html but I want to disable the extension "+" and the filters column resize. I want my table full responsive with filters column resize this is possible ?
- 13th Aug 2015serverside/ajax search multiple columnsGood afternoon, I am trying to get datatables to work with the server side/ajax method but also be able to search two colums. I copied the files etc in this example: https://www.datatables.net/examples/server_side/simple.html However, when I search for two words it only searches one. For Example Say we have 3 colums, ID, title, and thickness There will be a lot of products that have the thickness of 40mm and also a lot of products that have "luna night" in the title. What I want to be able to do is search "luna night 40mm" and It finds any products that have both "luna night" in the title AND "40mm" in the thickness. Is this possible at all and if so how can we do this?
- 7th Aug 2015With basic initialisation I can't sort my columnsAll is said in the title. I just initialized my dataTable and when I refresh my webpage I can't sort my data ? I am using gem installation, with javascript to initialize the dataTable
- 9th Jul 2015Multiple columns 'OR' searchHello. I've noticed, that currently columns([1,2,3,4]).search() performs 'AND' search - gets rows only if text is present in column 1, 2, 3 and 4 concurrently. I've tried to look at the code and change it myself, but didn't really manage to do it. Is it possible to add flag which allows to search for text in column 1 or 2 or 3 or 4? Or maybe somebody did it already? Thanks in advance for reply. Best regards,
- 10th Apr 2015Fixed Columns showing sort icons on header and 1st rowI am using FixedColumns css and js 3.0.4 with datatables 1.10.6 with bootstrap 3 integration After using just basic initialization, i notice that sort icons also appear on my 1st row, I am assuming this is a bug and wanted to report it, if you need a code exaple I can provide it