Search
92 results 1-10
Reference
selectedSingle
› Button that is enabled when a single item is selected in the tableThis button is very similar to the selected button type, but in this case rather than being enabled for one or more items selected in the table, it is enabled when there is a single item only selected. Single item selection can be useful when you wish to perform complex actions on an item, such as editing the data in a row. By providing an action function (buttons.buttons.action / button().action()) this button can be used to perform whatever operation is required on the table and its selected item.removeSingle
› A button that will delete a single row using _Editor_as disabled (see also selectedSingle). This can be usefuleditSingle
› A button that will edit an existing row using _Editor_as disabled (see also selectedSingle). This can be useful
Forum
- 19th May 2025I have one table giving me the vague response 'tn/4' and cant seem to figure out the issue.lt;i class="fa fa-play"/>' } }, { extend: 'selectedSingle', text: 'Duplicate', action: function
- 8th Jul 2024Duplicate buttonnot working button): { extend: 'selectedSingle', text: '', action: function ( e,
- 5th Jul 2024Jump to newly AJAX created recordlike edit / delete) extend: 'selectedSingle', //alternative would be 'selected'
- 2nd Jul 2024Because each row of my table input has sub items, similar to the table below, is there any example?like edit / delete) extend: 'selectedSingle', //alternative would be 'selected'
- 28th Jun 2024why is the 'btn-primary' color not applied for datatables buttons?btn btn-xxxxxx', i.e. extend: 'selectedSingle', className: 'btn btn-warning', text:
- 24th Dec 2023How to disable a button until at least 1 row has been selected in tableThat will work or you can use the selected or to enable with just one selected row with selectedSingle. These are from the Select extension. Other options can be found here. Kevin
- 17th Nov 2023How to show carriage returns in the column textmodal. It uses the selectedSingle button to activate the
- 26th Apr 2023"Selected" button not working in exampleuser has selected something. selectedSingle is similar, but it
- 4th Mar 2023When using dom: the buttons disappeardel' , key: 'x' }, { extend: "selectedSingle", text: 'Concluir', className: 'btn
- 24th Dec 2022Extending singleSelected buttonthat didn't help { extend: "selectedSingle", text: "+1M", action: function