dandelion / dandelion-datatables

Dandelion component for DataTables
http://dandelion.github.io/components/datatables/
Other
110 stars 49 forks source link

customize a htmldatatable #313

Closed pabloyokese closed 6 years ago

pabloyokese commented 8 years ago

Hi there I've got a problem, I am doing this HtmlTable table = new HtmlTableBuilder<User>().newBuilder("userTable", getCurrentList(), request) .column().fillWithProperty("name").title("Name") .column().fillWithProperty("email").title("Email") .column().fillWithProperty("creationDate","{0,date,yyyy-MM-dd}").title("Creation Date") .column().fillWithProperty("enabled").title("Enabled") .build(); where my "enabled " field is a boolean value, I am generating a pdf but I dont wanna see true or false in my pdf I wanna see yes and no. how I could do it? I was trying to with the second parameter of fillWithProperty but I cant make it work