Search
87 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
- 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
- 4th Aug 2022Get filtered data in exportable format using serverside:truelike edit / delete) extend: 'selectedSingle', //alternative would be 'selected'
- 1st Aug 2022Export Filter Table Button Serversidelike edit / delete) extend: 'selectedSingle', //alternative would be 'selected'
- 5th Feb 2022how to define a button to run a different MySQL query view of a datatablelike edit / delete) extend: 'selectedSingle', //alternative would be 'selected'
- 4th Nov 2021Prevent Customised control buttons in editor to edit all fields in the selectd rowthe button code { extend: "selectedSingle", text: "Confirm", action: function
- 6th Sep 2021user defined buttonSee the docs for selectedSingle for how to get