This is my code..
- dtTest = $('#grddtTest').DataTable({
- "filter": false,
- "paging": false,
- "orderClasses": false,
- "order": [[0, "asc"]],
- "info": true,
- //"bAutoWidth": false,
- "ordering": false,
- "dom": '<"top">rt<"bottom"Bpfli><"clear">',
- "columnDefs": [{ targets: [0, 1], orderable: false },
- { "height": "500px", "targets": 0 }
- // {
- // targets: [1], render: $.emsyne.Utility.ellipsis(50)
- // }
- ],
- "buttons": [{
- }],
- 'responsive': true,
- "bProcessing": true,
- initComplete: function () {
- }
- });
{ "height": "500px", "targets": 0 } or { "width": "500px", "targets": 0 } //this code is not working
plx help me..
thnkz in advace..

Roshan RathodPosted Jul 27, 2020, 10:39 PM
https://datatables.net/forums/discussion/49508/how-can-i-set-the-height-of-a-data-table-column
http://jsfiddle.net/muqYV/
https://stackoverflow.com/questions/12444423/jquery-datatables-row-height