-
Notifications
You must be signed in to change notification settings - Fork 298
InMethodGrid
mocleiri edited this page Dec 22, 2011
·
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 is the Wicket Stuff Table component.
- inmethod-grid-parent
- inmethod-grid
- inmethod-grid-examples
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>inmethod-grid</artifactId>
<version>1.4.14</version>
</dependency>
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>inmethod-grid</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>
<repository>
<id>wicketstuff-core-snapshots</id>
<url>ttps://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