Hello!
I am building a simple application with a EditableTreeTable
(http://www.wicketstuff.org/wicket13/nested/?wicket:bookmarkablePage=:org.apache.wicket.examples.ajax.builtin.tree.EditableTreeTablePage)
Here is how I create the columns for the table:
IColumn columns[] = new IColumn[] {
new PropertyTreeColumn(new ColumnLocation(Alignment.LEFT, 5,
Unit.EM),
"Radnr", "userObject.rowNr"),
new PropertyEditableColumn(new
ColumnLocation(Alignment.MIDDLE, 7, Unit.PROPORTIONAL), "ArtNr",
"userObject.artNr"),
new PropertyEditableColumn(new
ColumnLocation(Alignment.MIDDLE, 7, Unit.PROPORTIONAL), "Typ",
"userObject.type"),
new PropertyEditableColumn(new
ColumnLocation(Alignment.MIDDLE, 7,
Unit.PROPORTIONAL), "Beskrivning",
"userObject.description"),
new PropertyEditableColumn(new
ColumnLocation(Alignment.MIDDLE, 7,
Unit.PROPORTIONAL), "Antal", "userObject.qty"),
new PropertyEditableColumn(new
ColumnLocation(Alignment.MIDDLE, 7,
Unit.PROPORTIONAL), "Enh", "userObject.unit"),
new PropertyEditableColumn(new
ColumnLocation(Alignment.MIDDLE, 7, Unit.PROPORTIONAL), "áPris",
"userObject.price"),
new PropertyEditableColumn(new
ColumnLocation(Alignment.MIDDLE, 7, Unit.PROPORTIONAL), "Summa",
"userObject.total"),
};
Now I want to add another column, which should hold either a link or a
button that enables me to remove a row in the table. Sadly I have no idea of
how I should do this.
Could someone please help me?
//Ulrik
--
View this message in context:
http://www.nabble.com/Column-with-Link-Button-in-a-treetable-tp18129531p18129531.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]