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

offer access to the grid instance itself from any event #255

Open
StephanWald opened this issue May 8, 2023 · 0 comments
Open

offer access to the grid instance itself from any event #255

StephanWald opened this issue May 8, 2023 · 0 comments
Labels
Area: Core BBj The issues is related to the central BBj code Change: Minor Needs less than 64 lines change Type: Enhancements Iterations on existing features or infrastructure

Comments

@StephanWald
Copy link

When having multiple grids on a form all allowing selection events, you cannot tell from the event payload which grid fired an event. In some cases it might be desirable to have a central event handler and that the event payload tells which grid instance triggered the event.

I suggest an additional member field to each event payload object containing the #this! pointer to the grid instance itself.

BBj event payloads always return a handle to the control instance that was firing the event, so it would be consistent also in regard to the expectations of a BBj developer.

@StephanWald StephanWald added Area: Core BBj The issues is related to the central BBj code Type: Enhancements Iterations on existing features or infrastructure Change: Minor Needs less than 64 lines change labels May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Core BBj The issues is related to the central BBj code Change: Minor Needs less than 64 lines change Type: Enhancements Iterations on existing features or infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant