Add specific fields to the madal window
Add specific fields to the madal window
classic12
Posts: 228Questions: 60Answers: 4
in Responsive
I am using
responsive: {
details: {
renderer: $.fn.dataTable.Responsive.renderer.tableAll(),
display: $.fn.dataTable.Responsive.display.modal( {
header: function ( row ) {
var data = row.data();
return 'Details for Deal No: '+data.quoteID;
}
I can't seem to find the docs on how to add only selected fields.
Cheers
Steve Warby
This discussion has been closed.
Answers
Maybe this example:
https://datatables.net/extensions/responsive/examples/display-types/modal.html
and the third example here will help:
https://datatables.net/reference/option/responsive.details.renderer#Examples
Kevin
There aren't any as that isn't a specific feature of the software. The
responsive.details.renderer
documentation that Kevin linked to above is how you would do something like that (i.e. pick what fields you want to display). The built in renderers are either all data, or only the hidden data.Allan