Example usage for com.google.gwt.user.client.ui FlexTable removeAllRows

List of usage examples for com.google.gwt.user.client.ui FlexTable removeAllRows

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui FlexTable removeAllRows.

Prototype

public void removeAllRows() 

Source Link

Document

Remove all rows in this table.

Usage

From source file:org.sigmah.client.ui.widget.CalendarWidget.java

License:Open Source License

/**
 * Removes all rows. Must be when the structure of the calendar has been changed (display mode)
 *///from  w ww. j  a  v  a 2 s  .c  om
private void clear() {
    final FlexTable grid = (FlexTable) getWidget();
    grid.clear();
    grid.removeAllRows();
}