-
Notifications
You must be signed in to change notification settings - Fork 297
InMethodGrid
Martin Grigorov edited this page Jun 17, 2016
·
8 revisions
A data grid component with the following features:
- Fully Ajaxified
- Editable cells
- Pageable
- OSGi-ready
Here is how it might look:
A possible alternative to this component are the Wicket Stuff DataTables and EditableGrid components.
- inmethod-grid-parent
- inmethod-grid
- inmethod-grid-examples
Since version 1.5-RC5.1.1:
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-inmethod-grid</artifactId>
<version>6.19.0</version>
</dependency>
Prior version 1.5-RC5.1.1:
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>inmethod-grid</artifactId>
<version>1.4.14</version>
</dependency>
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-inmethod-grid</artifactId>
<version>6.0-SNAPSHOT</version>
</dependency>
<repository>
<id>wicketstuff-core-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
final List<Person> personList = ... ;
final listDataProvider = new ListDataProvider(personList);
List<IGridColumn> cols = (List) Arrays.asList(
new PropertyColumn(new Model("First Name"), "firstName"),
new PropertyColumn(new Model("Last Name"), "lastName"));
DataGrid grid = new DefaultDataGrid("grid", new DataProviderAdapter(listDataProvider), cols);
add(grid);
<div wicket:id="grid"></div>
Matej Knopp
Path is: /jdk-1.5-parent/inmethod-grid-parent
Path is: /jdk-1.5-parent/inmethod-grid-parent
Path is: /jdk-1.6-parent/inmethod-grid-parent