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

proposal for adding editing capabilities #1

Open
rossunger opened this issue Jul 25, 2024 · 1 comment
Open

proposal for adding editing capabilities #1

rossunger opened this issue Jul 25, 2024 · 1 comment

Comments

@rossunger
Copy link

I've been using your addon and it's INCREDIBLE. I've learned a lot about making godot's UI better just by looking at your code.

Because your code was super well structured, I was able to add data-editing capabilities with minimal effort.

The only change I needed to make to your code is adding signal selection_changed to dataview_content.gd and in the _on_left_click function I added selection_changed.emit(_header_titles, data_provider._get_row(cell.y), cell.x)

Personally I used this to create a side_panel with LineEdits and OptionButtons and stuff which were specific to the structure of my database, but it can also be used to implement

Anyway, just wanted to share, and say thanks for making such a great addon

@rossunger
Copy link
Author

I haven't considered multi-row editing yet, but I think that would be a fairly simple modification to emit multiple rows instead of a single row

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

No branches or pull requests

1 participant