Perhaps check out the DefaultDataTable's NavigationToolbar component's code for some inspiration? DataTable has a getCurrentPage() method. And, the Item given to you in your populateItem method has a getIndex() method on it.
On Sun, Oct 26, 2008 at 4:12 AM, mehdi b <[EMAIL PROTECTED]> wrote: > Hi, > > I want to add an index-shower column to a DataTable. So I add an > AbstractColumn to the DataTable, and in implemented populateItem() method I > want to show the index in a label. > How can I read current page number and index of the row to calculate final > index number? > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
