本文整理了Java中org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable.add()
方法的一些代码示例,展示了DataTable.add()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DataTable.add()
方法的具体详情如下:
包路径:org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable
类名称:DataTable
方法名:add
[英]Adds a toolbar to the datatable that will be displayed after the data
[中]向数据表中添加工具栏,该工具栏将显示在数据表之后
代码示例来源:origin: apache/wicket
add(caption);
this.colGroup = new ColGroup("colGroup");
add(colGroup);
body = newBodyContainer("body");
datagrid = newDataGridView("rows", columns, dataProvider);
datagrid.setItemsPerPage(rowsPerPage);
body.add(datagrid);
add(body);
topToolbars = new ToolbarsContainer("topToolbars");
bottomToolbars = new ToolbarsContainer("bottomToolbars");
add(topToolbars);
add(bottomToolbars);
代码示例来源:origin: org.opensingular/wicket-utils
getTable().add(new Behavior() {
@Override
public void onComponentTag(Component component, ComponentTag tag) {
代码示例来源:origin: org.opensingular/singular-wicket-utils
getTable().add(new Behavior() {
@Override
public void onComponentTag(Component component, ComponentTag tag) {
代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service
datagrid.setRowsPerPage(rowsPerPage);
body.add(datagrid);
add(body);
topToolbars = new ToolbarsContainer("topToolbars");
bottomToolbars = new ToolbarsContainer("bottomToolbars");
add(topToolbars);
add(bottomToolbars);
代码示例来源:origin: theonedev/onedev
fieldsTable.setOutputMarkupId(true);
fieldsTable.add(new SortBehavior() {
代码示例来源:origin: theonedev/onedev
boardsTable.setOutputMarkupId(true);
boardsTable.add(new SortBehavior() {
代码示例来源:origin: theonedev/onedev
statesTable.setOutputMarkupId(true);
statesTable.add(new SortBehavior() {
代码示例来源:origin: theonedev/onedev
dataTable.addBottomToolbar(new NoRecordsToolbar(dataTable));
dataTable.add(new SortBehavior() {
代码示例来源:origin: micromata/projectforge
tree.getTable().add(AttributeModifier.append("class", "tableTree"));
return tree;
代码示例来源:origin: micromata/projectforge
tree.getTable().add(AttributeModifier.append("class", "tableTree"));
return tree;
内容来源于网络,如有侵权,请联系作者删除!