I have a list page (based on the ProjProjectsListPage) with several ways for the user to filter the records, and it seems that some of them aren't aware of any changes the others may have made. Can anyone please explain what I'm missing?
Filter methods:
- Standard Advanced Filter/Sort button behind CTRL+F3 shortcut
- Custom controls for FD filtering, above the grid & next to the standard Show projects and Show levels dropdowns. Said controls have modified methods - i.e. within the Form - that call a custom method on the ProjProjectListPageInteraction class
- Custom buttons on the Action Pane that call a custom class that then makes a call to the same custom method on the ProjProjectsListPageInteraction class
The list page uses a custom query as its data source, to which a range for the current user is added programatically in ProjProjectsListPageInteraction::initializeQuery. If the user first removes this range using the Advanced Filter/Sortbutton and then uses either (2) or (3), the methods in the ProjProjectsListPageInteraction class are using the code below in an attempt to retrieve the current state of the query/filtering.
FormDataSource fds;
Query query;
fds = this.listPage().activeRecord('ProjTable').datasource();
if(fds}
{
query = fds.query();
}
However, if i put a breakpoint after the brace, the query variable still shows the the range in place. Is there any way to get the current state of the query in the list page interaction class?
*This post is locked for comments
I have the same question (0)