Skip to content

InMethodGrid

mocleiri edited this page Jan 22, 2011 · 8 revisions

In Method Grid Project

A data grid component with the following features:

  • Fully Ajaxified

  • Editable cells

  • Pageable

Here is how it might look:

A possible alternative to this component is the Wicket Stuff Table component.

Maven Artifacts

  • inmethod-grid-parent
  • inmethod-grid
  • inmethod-grid-examples

Documentation

Maven Stable

<dependency>
    <groupId>org.wicketstuff</groupId>
    <artifactId>inmethod-grid</artifactId>
    <version>1.4.14</version>
</dependency>

Maven Development

<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>

Java

        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);

HTML

<div wicket:id="grid"></div>

Project Maintainers

Matej Knopp

Source Code

core-1.4.x Branch

Path is: /jdk-1.5-parent/inmethod-grid-parent

master Branch

Path is: /jdk-1.5-parent/inmethod-grid-parent

Clone this wiki locally