hi,Erwin!
Thank you so fast and accurate response!
That's great help to me!
2010/5/11 Erwin Bolwidt
>
> Hi,
>
> You can do it like this:
>
> private private DefaultDataTable dataTable;
>
> // ...
>
> new AbstractColumn(new Model("#")) {
> public void populateItem(Item> cellItem,
> String compone
Hi,
You can do it like this:
private private DefaultDataTable dataTable;
// ...
new AbstractColumn(new Model("#")) {
public void populateItem(Item> cellItem,
String componentId,
IModel rowModel) {
Item item = (Item) cellItem.getParent().getParent();
int index = dataTable.getCurrentPage() * data