Skip to content

InMethodGrid

Martin Grigorov edited this page Jun 17, 2016 · 8 revisions

In Method Grid Project

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.

Maven Artifacts

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

Documentation

Maven Stable

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>

Maven Development

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

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 (depends on wicket 1.4-SNAPSHOT)

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

core-1.5.x Branch (depends on wicket 1.5-SNAPSHOT)

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

master Branch (depends on wicket 6.0-SNAPSHOT)

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

Clone this wiki locally