Displaying image on Datatable

后端 未结 3 506
盖世英雄少女心
盖世英雄少女心 2020-12-11 04:31

Hi guys i\'m using server side processing to read the database table and convert the records into Json file, and pass it to the database table to display data.

read

3条回答
  •  渐次进展
    2020-12-11 05:11

    "columnDefs": [
                {
                    // The `data` parameter refers to the data for the cell (defined by the
                    // `data` option, which defaults to the column being worked with, in
                    // this case `data: 0`.
                    "render": function ( data, type, row ) {
                        return '';
                    },
                    "targets": 1 // column index 
                 }
    
            ]
    

提交回复
热议问题