Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82610

Default value for empty cell

$
0
0

Hi there!

I'm new to DataTables and been searching for this unsuccesful. Is there a option to set a default value when a cell is empty?

In my case I want it to show 'Info Unavailable', but only found a way by validating it in the render:
validationRender(data) {
return data ? data : 'Info Unavailable';
}

But since this is repeated across the whole project, there is a lot of duplicates.


Viewing all articles
Browse latest Browse all 82610

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>