Table component add empty check
This commit is contained in:
@@ -430,4 +430,9 @@ public class TableComponent implements LayoutableRenderableEntity
|
|||||||
addColumn(col);
|
addColumn(col);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isEmpty()
|
||||||
|
{
|
||||||
|
return columns.size() == 0 || rows.size() == 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user