Search
14683 results 181-190
Reference
reverse()
› Reverse the result set of the API instance.DataTables API. For more information about the original method,reduceRight()
› Apply a callback function against and accumulator and each element in the Api's result set (right-to-left).DataTables API. For more information about the original method,reduce()
› Apply a callback function against and accumulator and each element in the Api's result set (left-to-right).DataTables API. For more information about the original method,push()
› Add one or more items to the end of an API instance's result set.DataTables API. For more information about the original method,pop()
› Remove the last item from an API instance's result set.DataTables API. For more information about the original method,order()
› Get / set the ordering applied to the table.This method provides information and control over themap()
› Create a new API instance with the result set defined by the values returned from the callback function.DataTables API. For more information about the original method,length
› Number of elements in an API instance's result set.Array.length property. For more information about the original property,lastIndexOf()
› Find the last instance of a value in the API instance's result set.DataTables API. For more information about the original method,join()
› Join the elements in the result set into a string.DataTables API. For more information about the original method,
Forum
- 7th Oct 2010can row detail info got by ajax?What I did for this issue was call the fnOpen function in the call back function so u don't have to force the code to be synchronous and u can open more than one detail every time. Regards, Pawel.
- 21st Sep 2010filtered infothanks!
- 11th Jan 2010More info links and custom image links issueHi Danny, I assume you are referring to something like this example: http://datatables.net/examples/api/row_details.html . If you have a look at the event listener code, you'll see the part which changes the open and close image - it sounds rather like you'll need to make a modification to that code, to make it suit your usage, rather than it being a bug in DataTables. Regards, Allan
- 26th Oct 2009aoData.push and adding info back to the requestHi hippiex, Welcome to that DataTables forums :-) It certainly is possible to do what you are looking for. What you need to do is use a custom fnServerData function to act upon your summation return variables: http://datatables.net/usage/server-side#fnServerData Here is a basic example which shows adding a new variable sent from the client to the server: http://datatables.net/examples/server_side/custom_vars.html . I realise that you want to go from server to client, but hopefully this will show you how fnServerData can be used. Basically in the callback function you can perform whatever DOM operation you need to update the footer at that point - then pass the data on to DataTables to complete the draw. Hope this helps! Regards, Allan
- 10th Aug 2016Is there a way to modify the pagination info ?I'm trying to limit the data send over the server to the web page. Datatable pagination seem to work by calculation total rows against page length. Correct me if I'm wrong. So for example, server data returns 100 rows, page length is 10, so there will be 10 pages on pagination navigation. What i want to do is, server has 100 rows, but only return 10 at a time based on which page is clicked on. Currently if i return 10 rows only, the numbers of pages is always 1. Based on this server-side#Returned-data, there don't seem to be a way i can modified the pages listing.
- 5th Jan 2016How to add additional info to the csv exported with DataTable/Buttons ?can I add additional information to the csv file
- 7th Jan 2015Include dataTable with related info in Editor windowMy Case: I have a list of clients and each client can have multiple devices. This is stored in two tables Client and Device and related on Client.ID = Device.ClientID. Each table is complex and has many details about its own object. Simplified Example: clients: [ { id:1, name:'Joe', phone:'555-1212', userType:'Admin'}, { id:2, name:'Sally', phone:'555-1212', userType:'User'} ]; devices: [ {id:1, clientID: 1, type:'iPad'}, {id:2, clientID: 1, type:'Android'}, {id:3, clientID: 2, type:'WinPhone'} ]; Objective: What I would like to do is first show a table of the clients, then when a client is edited (thus the Editor window appears) I would like to show the editable fields of the client AND show a table with that clients devices. The devices tables should also be editable as well. I'm open on the style of either table and the Editor window. So inline editing, bubble editing, or even the style of this nifty (example)[https://editor.datatables.net/examples/plug-ins/displayController.html] are fine. Has anyone tackled this or considered it?
- 12th Apr 2013Customize filters, dropdownlenght, info and paginationHello everyone is there a way to connect the actual default features of the plugin with my own inputs, dropdowns, paginations ... I dont want them to be in top of my (or anywhere near or next to the table, as with sDom). I would like to place these elements on a navigation bar for example. Thanks in advance.
- 15th Jan 2013Pagination and info inIs there a way to relocate the information and pagination into a in the ?
- 20th Nov 2012TableTools - Show the Info dialog for more timeThanks for such an wonderful tool. When I click on Print it shows a dialog "Print View. Use the browser...... " My users would like this message to stay for few more seconds before fade. Can you please help me how to achieve it?