If you want to your own html, you need to create an object that extends
PropertyColumn
Let's say that XXXPropertyColumn extend PropertyColumn
You need to override the populateItem(Item<ICellPopulator<T>> item, String
componentId, IModel<T> rowModel) method
for example
@Override
public void populateItem(Item<ICellPopulator<T>> item, String componentId,
IModel<T> rowModel) {
item.add(new YYYPanel(item, componentId, rowModel));
}
Then you create the YYYPanel.java and the html file
XXXPropertyColumn$YYYPanel.html with your own design.
François
Le 9 mars 2016 à 18:41, andre seame <[email protected]> a écrit :
>
> Hello,
>
>
> In DataTableFilterToolbarPag, we use columns.add(new PropertyColumn<Contact,
> String> ...
>
>
> I would like to modify the content of the header of this column.
>
>
> Must I do "replace the header component of the header of column" ? But how to
> do that?
>
>
> Must i my own column objects? I imlagine that the header (th) is defined by
> the column. But how to do that?
>
>
> Thanks,
>
> PHL.