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
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