本文整理了Java中org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable.<init>()
方法的一些代码示例,展示了DataTable.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DataTable.<init>()
方法的具体详情如下:
包路径:org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable
类名称:DataTable
方法名:<init>
[英]Constructor
[中]建造师
代码示例来源:origin: org.wicketstuff/wicketstuff-console
private void init(final IDataProvider<ScriptTemplate> dataProvider, final int rowsPerPage)
{
table = new DataTable<ScriptTemplate, Void>("table", createColumns(), dataProvider, rowsPerPage);
add(table);
}
代码示例来源:origin: stackoverflow.com
String basePath = "C:\\excel file path";
DataTable table = new DataTable();
table.setHeaderless();
table.ImportSheet(basePath+"myTestingFile.xlsx");
System.out.println(Arrays.toString(table.getHeaderValues().toArray()));
for(int i = 1 ; i < table.getRowCount();i++){
table.setRowIndex(i);
System.out.println(table.getValueAt(0));
}
代码示例来源:origin: theonedev/onedev
DataTable<PullRequest, Void> buildsTable = new DataTable<PullRequest, Void>("requests", columns, dataProvider, Integer.MAX_VALUE);
buildsTable.addTopToolbar(new AjaxFallbackHeadersToolbar<Void>(buildsTable, dataProvider));
buildsTable.addBottomToolbar(new NoRecordsToolbar(buildsTable));
代码示例来源:origin: theonedev/onedev
add(fieldsTable = new DataTable<InputSpec, Void>("issueFields", columns, dataProvider, Integer.MAX_VALUE));
fieldsTable.addTopToolbar(new HeadersToolbar<Void>(fieldsTable, null));
fieldsTable.addBottomToolbar(new NoRecordsToolbar(fieldsTable));
代码示例来源:origin: theonedev/onedev
new DataTable<ProjectFacade, Void>("projects", columns, dataProvider, WebConstants.PAGE_SIZE);
代码示例来源:origin: theonedev/onedev
add(boardsTable = new DataTable<BoardSpec, Void>("issueBoards", columns, dataProvider, Integer.MAX_VALUE));
boardsTable.addTopToolbar(new HeadersToolbar<Void>(boardsTable, null));
boardsTable.addBottomToolbar(new NoRecordsToolbar(boardsTable));
代码示例来源:origin: theonedev/onedev
add(statesTable = new DataTable<StateSpec, Void>("issueStates", columns, dataProvider, Integer.MAX_VALUE));
statesTable.addTopToolbar(new HeadersToolbar<Void>(statesTable, null));
statesTable.addBottomToolbar(new NoRecordsToolbar(statesTable));
代码示例来源:origin: theonedev/onedev
add(dataTable = new DataTable<TransitionSpec, Void>("stateTransitions", columns, dataProvider, Integer.MAX_VALUE));
dataTable.addTopToolbar(new HeadersToolbar<Void>(dataTable, null));
dataTable.addBottomToolbar(new NoRecordsToolbar(dataTable));
内容来源于网络,如有侵权,请联系作者删除!