How to combine native DG cell render options in custom cell renderer

Is there a way to combine the native DG functionality like cell value formatting with custom cell renderer with the type set to html.

For example we would like to create a date field with an additional indicator / tooltip (written in html) in some cases but would also like to be able to render the value as defined in the column format. In that case the users would still be able to define their favourite date format in our custom cell renderer.

Absolutely! Since you are already using a custom cell renderer and therefore have complete control over how it is rendered, the only missing part was getting a string representation that uses the current format. We have just added Column.getString(idx) method that does exactly that.

1 Like