Hiding in status of TablePage when including in form Using PageField [message #1856841] |
Thu, 05 January 2023 12:02 |
Seydou Zakou Messages: 44 Registered: May 2020 |
Member |
|
|
Hi,
First, my best wishes to all.
Is it possible to hide the status (filter, rows loaded, rows selected, aggregate) of a TablePage when included in a form using PageField ? If yes, how ?
Our code is bellow:
public class UsersBox extends AbstractGroupBox {
@Override
protected String getConfiguredLabel() {
return TEXTS.get("Users");
}
public class GroupUserTablePageField 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);
userTablePage.getTable().setTableStatusVisible(false);
}
}
}
Thanks
[Updated on: Thu, 05 January 2023 12:04] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03480 seconds