Hide Status on TablePage inside PageField [message #1854985] |
Wed, 21 September 2022 18:40  |
Eclipse User |
|
|
|
Hi,
Does anyone has an idea how the status of a Table (in TablePage) can be hidden when the TablePage is used in PageField OR if it is not possible ?
Below is my code:
public class GroupUsersTablePage extends AbstractPageField<UserTablePage> {
@Override
protected boolean getConfiguredLabelVisible() {
return false;
}
@Override
protected void execInitField() {
var userTablePage = new UserTablePage();
userTablePage.setGroupId(getId());
setPage(userTablePage);
// Hide table status -- NOT WORKING !!!
getTableField().setTableStatusVisible(false);
getTableField().getTable().setTableStatusVisible(false);
}
}
}
I can use a TableField inside my Form, but since it will have the same columns and menus as the TablePage, I don't want to repeat the same code at 2 places.
Thanks.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04119 seconds