Search
23545 results 22981-22990
Forum
- 2nd Jul 2015Performance: CSV from server to DataTables or CSV to SQL, then to DataTables?see. You can use columns.render to modify the data
- 2nd Jul 2015I want a table to populate with certain rows supressedI would suggest using a column search - column().search() for example. Use a regular expression to make it search for not Hidden. Allan
- 25th Jun 2015DataTables 1.10.4 order parameter bugThe statement in the example is misleading I'm afraid. I will correct it. As the columns.orderData reference documentation notes the orderData parameter can be an integer or an array of integers. Allan
- 18th Jun 2015Suggestions for improving sorting, especially of personal nameswhich needs an additional column providing the data formatted in a way that makes correct sorting possible not really - you could use columns.render and "transform" the data as needed. Allan
- 18th Jun 2015How to add the HTML5 data-* attributes - cell data in ajax server side proccessing???in Javascript using the columns.render option as a function.
- 17th Jun 2015Sum 2 FieldUse columns.render as a function to do that. You have access to all the data points for the row in the function, so you would just sum the properties you want and return the value. Allan
- 16th Jun 2015Using if or case statements to display returned datawith DataTables. Specifically the columns.render option is the one
- 3rd Jun 2015How to Add a delete and edit icon to each rowYou need columns.render. https://datatables.net/reference/option/columns.render One of those examples has render returning a link: "render": function ( data, type, full, meta ) { return '<a href="'+data+'">Download</a>'; You would adapt the return value according to your needs.
- 21st May 2015Two data fields to make one columnYes, use columns.render like in this example. Allan
- 11th May 2015How to change the view to product grid/google images view?????Use columns.render to create the HTML required to display the thumbnails you want. Allan