Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Advanced Sort #17

Open
OllegK opened this issue Nov 14, 2019 · 0 comments
Open

Handle Advanced Sort #17

OllegK opened this issue Nov 14, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@OllegK
Copy link
Contributor

OllegK commented Nov 14, 2019

Advanced Sort isn't taken into account, at least for the React demo. Siebel doesn't run anything on the presentation model for the applet being sorted for advanced sort, so this makes no trigger in change of state. In order to get it working with the React Demo (a modded version), I put a PR on the sort applet to trigger a change to a global flag to make React know the data changed.
So in BindEvents for the PR:
$(fullAppletId).find("[title='Sort Order:OK']").on("click", function(){
SiebReact.sorted = true;
});

In React component:
if(SiebReact && SiebReact.sorted){
SiebReact.sorted = false;
SiebReact.refreshList();
}

Our implementation relies heavily on advanced sort, since the users actually use that for sorting instead of clicking columns on Siebel.

Is it possible for Nexus to know the advanced sort has been triggered by a user and somehow trigger a callback since Siebel doesn't?

@OllegK OllegK added the enhancement New feature or request label Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant