RE: Is there any pointers to change the markup header of a column or propertyColumn ?

2016-03-14 Thread andre seame
eract with the PropertyColumn.java Thanks, PHL De : Tom Götz Envoyé : mercredi 9 mars 2016 21:17 À : users@wicket.apache.org Objet : Re: Is there any pointers to change the markup header of a column or propertyColumn ? Hi, I think the question was how to modify the *

Re: Is there any pointers to change the markup header of a column or propertyColumn ?

2016-03-09 Thread Tom Götz
Hi, I think the question was how to modify the *header* of the column and not the cell’s content. Therefore you only need to do the following: @Override Component getHeader(String componentId) { return new MyFancyHeaderPanel(componentId); } … in your PropertyColumn (anonymous) subclass. Ch

Re: Is there any pointers to change the markup header of a column or propertyColumn ?

2016-03-09 Thread Francois Meillet
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> item, String componentId, IModel rowModel) method for example @Override public void populateItem(Item> item

Is there any pointers to change the markup header of a column or propertyColumn ?

2016-03-09 Thread andre seame
Hello, In DataTableFilterToolbarPag, we use columns.add(new PropertyColumn ... 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 (