Yes, you can.
The following documents will be a good sample.
https://ka2.org/cdbt/v2/tutorial/#customize-shortcode
For example, if the “image_url” column in the “sample” table is stored url of image, it’s as following:
function my_shortcode_custom_columns( $columns, $shortcode_name, $table ) {
if ( 'sample' === $table ) {
foreach ( $columns as $_i => $_column ) {
$_custom_column = '';
switch( $_column['property'] ) {
case 'image_url':
// Add an image tag with link
$_custom_column = 'rowData.image_url != "" ? $("<a/>").attr("href",_.unescape(rowData.image_url)).attr("target","_blank").html("<img src=\""+_.unescape(rowData.image_url)+"\">") : "-"';
break;
}
if ( ! empty( $_custom_column ) )
$columns[$_i]['customColumnRenderer'] = $_custom_column;
}
}
return $columns;
}
add_filter( 'cdbt_shortcode_custom_columns', 'my_shortcode_custom_columns', 10, 3 );
please refer above code and try it.
Thank you,