Package io.jmix.ui.component
Interface DataGrid.HasNullRepresentation
- All Known Subinterfaces:
DataGrid.ButtonRenderer<T>,DataGrid.ClickableTextRenderer<T>,DataGrid.DateRenderer,DataGrid.HtmlRenderer,DataGrid.LocalDateRenderer,DataGrid.LocalDateTimeRenderer,DataGrid.NumberRenderer,DataGrid.TextRenderer
- All Known Implementing Classes:
ButtonRendererImpl,ClickableTextRendererImpl,DateRendererImpl,HtmlRendererImpl,LocalDateRendererImpl,LocalDateTimeRendererImpl,NumberRendererImpl,TextRendererImpl
public static interface DataGrid.HasNullRepresentation
A renderer has a null representation.
String value which will be used for rendering if the original value is null.
-
Method Summary
Modifier and TypeMethodDescriptionNull representation for the renderer.voidsetNullRepresentation(String nullRepresentation) Sets null representation for the renderer.
-
Method Details
-
getNullRepresentation
String getNullRepresentation()Null representation for the renderer.- Returns:
- a textual representation of
null
-
setNullRepresentation
Sets null representation for the renderer.- Parameters:
nullRepresentation- a textual representation ofnull
-