use of org.gwtproject.user.cellview.client.DataGrid.Resources in project gwtproject by treblereel.
the class DataGridTest method testDataGridWidgetStyle.
/**
* Test if the dataGridWidget style is applied.
*/
public void testDataGridWidgetStyle() {
Resources res = new DataGrid_ResourcesImpl();
DataGrid<String> dataGrid = new DataGrid<String>(20, res);
String dataGridWidgetStyle = res.dataGridStyle().dataGridWidget();
TableElement tableElem = dataGrid.getElement().cast();
assertTrue(tableElem.getClassName().contains(dataGridWidgetStyle));
}
Aggregations