ajustar ancho modal
ajustar ancho modal
JuliánVelasquez
Posts: 1Questions: 0Answers: 0
cambiar ancho del modal javascript
cambiar ancho del modal javascript
Replies
Which modal are you referring to?
Colin
use CSS like in here for a Bootstrap 3 modal:
with
Adjust for your styling framework.
This modal:
https://datatables.net/extensions/responsive/examples/display-types/bootstrap5-modal.html
Too, I have the same question.
@rf1234's solution works nicely. @alma_delay - did you try it with Bootstrap 5 size classes?
Allan
I refer to:
$(document).ready(function() {
$('#Table').DataTable( {
responsive: {
details: {
display: $.fn.dataTable.Responsive.display.modal( {
header: function ( row ) {
var data = row.data();
return 'Details';
}
} ),
renderer: $.fn.dataTable.Responsive.renderer.tableAll( {
tableClass: 'table'
} )
}
},