Search
14683 results 131-140
Reference
pageLength
› Button collection that will control the DataTables' page lengthfour table control and information elements around a DataTableexcelHtml5
› Create and save an Excel XLSX file that contains the data from the table (HTML5)wish to add additional information or formatting to theexcel
› Create and save an Excel CSV file that contains the data from the tableStyling and customisation For information on how you canbuttons.exportData()
› Obtain data from the DataTable that is suitable for exportingheader, footer and body information from the table. Itbutton().popover()
› Show popover box for a button, allowing extra user inputto get some extra information from the user, thisautoFill
› An auto fill action has been completedthe changes permanently. The information about the cells thattable-selector
› Selector options for tables.single call). For more information about how the APIselector-modifier
› Options for how the row, column and cell selector should operate on rows.table.rows( {selected:true} ).data(); Additional information about this property canrow-selector
› Selector options for rows.look up of row information. When the selector isobject
› Javascript `Object` typeto create sets of information, containing data of any
Forum
- 20th Jul 2020How to show info about page number between “previous” and “next” buttons?Currently, that is not something that is available in DataTables. You'd need to create a pagination plug-in that would do that. Here are a few existing ones that you could use as a basis. Allan
- 20th May 2020How to get row info on dropdown item click?quick and accurate response. Information on how to create
- 14th May 2020Receiving strange string as $_POST row info on edit.Hi, This is related to the fact that you are using a compound key: array($carriertable.'.col1', $carriertable.'.carrier_name') The client-side can only have a single value as an id (it is a DOM id as well as being used in Javascript to uniquely identify the row), so the server scripts will combine the different values using a hash. The Editor class as a pkeyToArray method available which can be used to convert from the combined string into the individual values you'll need - e.g.: $pkey = $editor->pkeyToArray( $id ); then you should have an array you can access such as $pkey[$carriertable.'.col1']. Allan
- 30th Apr 2020render info iconThanks much Alex and Colin, I just update the if (data.krim.....) to if (row.myfieldname.....)
- 26th Apr 2020Bootstrap4 Changing Header Info To DarkKevin thanks for the quick feedback; I'm using version 4.3.1 which has the same issue - but you have provided a possible workaround and I appreciate that!
- 14th Nov 2019Enhancement Request: More info on validation failure during Import CSVInteresting one - thanks for the suggestion. This isn't so much specific to the CSV import (although its fairly easy to see there), but rather tha multi-row editing in general and the ability to determine which one, if any, of the submitted rows are failing. Normally it would be all of them since the UI only allows editing to a single value, but it would be possible through the API to enter invalid data for just a specific row / column - as is the case here in the CSV import. I've filed an internal enhancement request for this. Regards, Allan
- 4th Nov 2019Deciphering auto-generated link & script info when updating to current versionsbetween opening the CSS and JS links and "opening the link to go directly to the download page" though The format shows the header that Kevin quoted above, and this lists the "Included libraries" there. The latter, the link, takes you to the download page where you can see what's been selected. Hope that clarifies. C
- 4th Oct 2019A CDN CSS URL I was using is not longer working. Wondering if anyone has any info to help me out.It appears to be loading okay - are you using an SRI integrity attribute? If so, you will probably need to update it per the thread Kevin linked to. Allan
- 19th Jun 2019Reload info with AJAX passing new paramsHi @jmcab , I would add ajax.data as a function in your table initialisation, which adds the value of a variable to the payload sent to the server. This can be an empty string to begin with, which you then fill with your param object above for the ajax.reload(), Hope that does the trick, Cheers, Colin
- 24th May 2019stateSave not retaining search box infojust fyi I managed to isolate what the problem was (kid of). I got the idea to first off, make sure all my files were up to date. My jquery and jquery ui libraries were not the latest ones, and upgrading them fixed the issue like magic.