Hi,
Unfortunately refresh button in Cuba 7 doesn’t work.
Usually I use:
<actions>
<action id="create" type="create"/>
<action id="edit" type="edit"/>
<action id="remove" type="remove"/>
<action id="refresh" type="refresh"/>
</actions>
<buttonsPanel id="buttonsPanel"
alwaysVisible="true">
<button id="createBtn" action="organizationsTable.create"/>
<button id="editBtn" action="organizationsTable.edit"/>
<button id="removeBtn" action="organizationsTable.remove"/>
<button id="refreshBtn" action="organizationsTable.refresh"/>
</buttonsPanel>
In Cuba 6 works fine.
Also I tried in the controller:
@Subscribe("refreshBtn")
private void onRefreshBtnClick(Button.ClickEvent event) {
organizationsDl.load();
}
but still doesn’t work.
Can you give me a solution pls?
My goal is: after a specific Search to refresh(reload) all records.