Closed GoogleCodeExporter closed 8 years ago
What do you mean by "add serial number for the table"?
Original comment by jeff.johnston.mn@gmail.com
on 9 Feb 2010 at 4:37
i had constructed table as below
First Name Last Name Age
john Antony 45
jackson anto 57
i need the table should be like this
S.no First Name Last Name Age
1 john Antony 45
2 jackson anto 57
the S.no value should not change while i perform sorting in First Name/Last
Name/Age
Original comment by karthick...@gmail.com
on 10 Feb 2010 at 4:07
There is an attribute called "rowcount" that is put into the page scope (for
each
row) if you are using the tag library, and I believe that it starts at 1 too.
Otherwise you would need to write a CellEditor that does what you need. You can
find
an example of creating a custom cell editor in the basic and tag tutorial.
Original comment by jeff.johnston.mn@gmail.com
on 11 Feb 2010 at 5:59
I've noticed this on the wiki, "if you need to take in account pagination you
can find
the current page on the Limit object".
I wonder how can I get a Limit object in a CellEditor to gain the pagination
for a tag
use.
Hope for your answer~~
Original comment by piaoxi...@gmail.com
on 3 Mar 2010 at 3:16
You would use getCoreContext().getLimit();
Original comment by jeff.johnston.mn@gmail.com
on 10 Mar 2011 at 9:53
Original issue reported on code.google.com by
karthick...@gmail.com
on 9 Feb 2010 at 4:26