Closed GoogleCodeExporter closed 9 years ago
The rowcount is passed to the CellEditor. Do you need something else?
Also, if you are using the tags there is a 'rowcount' variable passed to the
page
scope that you can use to display the current row.
<jmesa:column property="count">${rowcount}</jmesa:column>
Original comment by jeff.johnston.mn@gmail.com
on 11 Mar 2010 at 2:55
I need a page number and also the pagesize in the CellEditor,so i can gain the
serial
number from the last number of the page before.
For example:
if the serial number goes from 1 to 10 in the firse page,then i want to the
number
goes from 11 to 20 in page two.
Original comment by piaoxi...@gmail.com
on 12 Mar 2010 at 8:29
Ok, I see now...
If you just want the rowcount to auto-increment taking in account the page
count you
can override the default in your preferences.
html.rowcount.includePagination=true
http://code.google.com/p/jmesa/wiki/Preferences
If you still need to get at the limit you can get it from the CoreContext. To
get
that just extend from the AbstractCellEditor and then you can do a
getCoreContext()
on that class. On the CoreContext you can get at the Limit.
Original comment by jeff.johnston.mn@gmail.com
on 12 Mar 2010 at 6:30
Thank you for your help!
I'll try it now!
Original comment by piaoxi...@gmail.com
on 13 Mar 2010 at 5:52
Original comment by jeff.johnston.mn@gmail.com
on 13 Apr 2010 at 7:02
Original issue reported on code.google.com by
piaoxi...@gmail.com
on 8 Mar 2010 at 6:30