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

feat: add parameter selectedCell?: TwoWayBindable<RowColumn> for listview widget #37

Merged
merged 1 commit into from
May 20, 2024

Conversation

mrmagic2020
Copy link
Contributor

Issue #36: Add parameter selectedCell?: TwoWayBindable<RowColumn> for listview widget. Tested locally without issue.

This is my first time contributing to this project, so please review my code carefully for any mistakes/areas for improvement. Thanks!

@mrmagic2020
Copy link
Contributor Author

@Basssiiie Please have a look whenever it's convenient for you :)

@Basssiiie
Copy link
Owner

Basssiiie commented May 19, 2024

Hey thank you for your contribution! I've had a test and while the callback binding seems to work well, updating the currently selected row by setting the store does not seem to work.

It looks like the problem is a bit more complex than I first assumed, as it seems we're dealing with an object on the property side and a dual parameter output on the callback side. 😅 I'll try to have a look myself what would be necessary to fully support the two way binding here and I'll get back to you when I know.

@Basssiiie Basssiiie merged commit 7bae3b3 into Basssiiie:main May 20, 2024
2 checks passed
@Basssiiie
Copy link
Owner

Basssiiie commented May 20, 2024

The new property is merged with the additional changes that were needed. Thanks again for your contribution! 😄

I'll get a new release out soon.

@Basssiiie Basssiiie linked an issue May 20, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow listview to programmatically change the selectedCell
2 participants