Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82402

Adding a field (checkbox) to the remove form

$
0
0

Hi

I'm trying to add a checkbox to the remove editor form but I can't see howt thats done. I tried this for ex., but the field isn't showing:

var editor2 = new $.fn.dataTable.Editor({...}).add( {
    type:  "checkbox",
    label: "Locations:",
    name:  "locations",
    options: [
        { label: "Edinburgh", value: 51 },
        { label: "London",    value: 76 }
    ]
} );

Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.


Viewing all articles
Browse latest Browse all 82402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>