..
int c = 0;
..
List columns = new ArrayList();
columns.add(new AbstractColumn(new Model(操作)){
public void populateItem(Item cellItem, String
componentId, IModel
model){
c +=
.
Martijn Dashorst-4 wrote:
Because the cellItems are the column items...
You only have one column, so it will always return 0 (first column).
Martijn
On 9/14/06, wq [EMAIL PROTECTED] wrote:
..
int c = 0;
..
List columns = new ArrayList
!
Thanks Igor!
igor.vaynberg wrote:
noep, no sample code. just try taking the original toolbar and removing
the
form it creates - and pass one into the constructor instead.
-Igor
On 9/6/06, wq [EMAIL PROTECTED] wrote:
thanks Igor!
without a form, how can I get the filter input
that usecase is not
supported. please add an rfe for it.
if you want one right now then you have to create your own variant that
doesnt use an embedded form. it would be pretty much a copy and paste job
of
the current toolbar but w/out the form.
-Igor
On 8/31/06, wq [EMAIL PROTECTED] wrote
final CheckGroup group=new CheckGroup(group, new ArrayList());
...
group.add(new CheckGroupSelector(groupselector));
..
SortableWapSrcDataProvider provider = new SortableWapSrcDataProvider();
DefaultDataTable table = new DefaultDataTable(table,columns,provider,30);
table.addTopToolbar(new
HELP! HELP!
wq wrote:
final CheckGroup group=new CheckGroup(group, new ArrayList());
...
group.add(new CheckGroupSelector(groupselector));
..
SortableWapSrcDataProvider provider = new SortableWapSrcDataProvider();
DefaultDataTable table = new
DefaultDataTable(table,columns