package com.mycompany.project.client.view;

import com.smartgwt.client.types.ListGridEditEvent;
import com.smartgwt.client.widgets.grid.ListGrid;
import com.smartgwt.client.widgets.grid.ListGridField;

public class SampleListGrid extends ListGrid {

	public SampleListGrid() {

		setHeight(600);
		setWidth100();
		setCanEdit(true);
		setEditEvent(ListGridEditEvent.CLICK);

		ListGridField LastNameField = new ListGridField("LastNameField",
				"LastNameField");
		ListGridField FirstNameField = new ListGridField("FirstNameField",
				"FirstNameField");

		setFields(LastNameField, FirstNameField);
	}
}