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

Sheet: provide access to row value during rowSelect and cellSelect events #1233

Open
VsevolodGolovanov opened this issue Jun 20, 2023 · 3 comments
Labels
enhancement Improve an existing component

Comments

@VsevolodGolovanov
Copy link

Describe the feature you would like to see added

Like e.g. p:dataTable puts rowData into its SelectEvent and UnselectEvent.

Is your feature request related to a problem?

E.g. for when there are additional UI controls being rendered outside the sheet, but in the context of its selection.

Describe the solution you'd like

New event classes providing additional sheet specific info. But it could also be new methods on the Sheet class itself.

Describe alternatives you've considered

No response

Additional context

No response

@VsevolodGolovanov VsevolodGolovanov added the enhancement Improve an existing component label Jun 20, 2023
@VsevolodGolovanov
Copy link
Author

Actually Sheet#getRowNumber(Object rowData) would be helpful too - for interacting with Handsontable API in terms of row numbers.

@melloware
Copy link
Member

Any interest in helping with this one? We use the sheet heavily in a couple of production apps and I haven't found the need for this yet but I do absolutely see the value!

@melloware
Copy link
Member

It looks like the sheet_selection is in the AJAX request would just need to parsed out and added to the SheetEvent

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve an existing component
Projects
None yet
Development

No branches or pull requests

2 participants