macOS: TableView group name does not update
See original GitHub issueI slightly modified view of template application
let view (model: Model) dispatch =
View.ContentPage(
content = View.StackLayout(
padding = 20.0, verticalOptions = LayoutOptions.Center,
children = [
View.TableView(
intent = TableIntent.Form,
items = [
(sprintf "%d" model.Count, [
View.TextCell(
text = sprintf "%d" model.Count
)
])
]
)
View.Button(text = "Increment", command = (fun () -> dispatch Increment), horizontalOptions = LayoutOptions.Center)
View.Button(text = "Decrement", command = (fun () -> dispatch Decrement), horizontalOptions = LayoutOptions.Center)
]))
when I click buttons, content of View.TextCell
updates correctly, but group name does not
If it is by design, then it is confusing.
Repro is here - https://github.com/sergey-tihon/Fabulous.BugRepros/tree/master/TableViewUpdate
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
UITableView sometimes not updating
Hey everybody,. first of all, I'm new in Swift (but not new in software development). I'm currently trying to create a private app...
Read more >Table not updating correctly - swift
Swapping the Table with a List fixed the problem entirely, but I would like to keep the Table (so I can add more...
Read more >TableView does not update according to search terms – Swift
I tried using a simple Strings to start to see if that would work on an array that I entered manually. That seemed...
Read more >macOS NSTableView Tutorial
Table views are one of the most important macOS UI controls. Get up to speed with how to use them with this macOS...
Read more >Workspace Table View | Trello
Trello's Workspace table view is an easy-to-use feature to see cards from multiple boards across your Trello Workspace in a compact, manageable table ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sooo… It’s a Xamarin.Forms bug finally. 😃 The code above is not what Fabulous does.
Fabulous reuses
TableView.Root
if not null, which is the case by default in Xamarin.Forms. And for some reasons, this default value ignores property changed events, where a newTableRoot
will not.So I will change the way Fabulous works and raise an issue on the Xamarin.Forms repo.
Thanks for reporting. I think I know why, had a similar issue with ListViewGrouped a few months ago. I’ll try to fix that today.