Wiki

Clone wiki

grails-datatables / falseText

falseText

Values

Name Type Default
falseText String none

Description

falseText is a column option that allows you to specify text that will appear in the place of a false value for a boolean field. Additionally, the text you specify with falseText will be searchable, even when using server-side processing.

Note that false boolean fields that do not have falseText specified will be displayed as "False".

Example

<dt:datatable name="MyTable" domainClass="this.is.my.DomainClass" serverSide="true">
    <dt:column name="myFirstProperty" trueText="Yes" falseText="No"/>
    <dt:column name="mySecondProperty"/>
</dt:datatable>

See Also

trueText, dataType


Back to Options.

Updated