anchor.diff:  +
   [source, java]
   ----
  -// Use String.format() formatting
  -Column<Double> ratingCol = grid.addColumn("rating",
  -      new NumberRenderer("%02.4f", Locale.ENGLISH));
  +// Use decimal format
  +Column<Integer> birthYear = grid.addColumn(Person::getBirthYear,
  +      new NumberRenderer(new DecimalFormat("in #### AD")));
   ----
   
   [classname]#ProgressBarRenderer#:: Renders a progress bar in a column with a [classname]#Double# type. The value
  
positive.code: people.add(new Person("Johannes Kepler", 1571));
  
  // Create a grid
  Grid<Person> grid = new Grid(people);
  
  // Render a button that deletes the data row (item)
  grid.addColumn(person -> "Delete", 
  
negative.code: // Create a grid bound to the list
  Grid<Person> grid = new Grid<>();
  grid.setItems(people);
  grid.addColumn(Person::getName).setCaption("Name");
  grid.addColumn(Person::getBirthYear).setCaption("Year of birth");
  
  layout.addComponent(grid);
  ----
  
  