final DataGrid grid = new DataGrid(columns);
grid.setEditInPlace(true);
grid.setSize("100%", "250px");
grid.setSelectionModel(new SingleRowSelectionModel());
Record record = new MapRecord()
.setValue("firstName", "Uri")
.setValue("lastName", "Boness")
.setIntValue("age", 33)
.setValue("gender", Gender.MALE)
.setValue("birthTime", new Time(5))
.setValue("dutch", false);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Daan")
.setValue("lastName", "Boness")
.setIntValue("age", 5)
.setValue("gender", Gender.MALE)
.setValue("birthTime", new Time(5))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))
.setValue("dutch", true);
grid.addRecord(record);
record = new MapRecord()
.setValue("firstName", "Lian")
.setValue("lastName", "Boness")
.setIntValue("age", 2)
.setValue("gender", Gender.FEMALE)
.setValue("birthTime", new Time(10))