ObjectListView converts everything to string. I have a double field that is a percentage. It displays with full precision 0.8436489032849. I'd rather have it display 84.36%. How does one do that?
I need to implement a custom sort on the fastObjectListView. I DO see the help at this page: No CustomSorter on FastObjectListView One incompatibility between v1.x and v2.0 is that FastObjectListViews can no longer have a CustomSorter. In v1.x it was possible, if tricky, to get a CustomSorter to work with a FastObjectListView, but that is no longer possible in v2.0 In v2.0, if you want to custom sort a FastObjectListView, you will have to subclass FastObjectListDataSource and override the SortObjects()...
I need to implement a custom sort on the fastObjectListView. I DO see the help at this page: No CustomSorter on FastObjectListView One incompatibility between v1.x and v2.0 is that FastObjectListViews can no longer have a CustomSorter. In v1.x it was possible, if tricky, to get a CustomSorter to work with a FastObjectListView, but that is no longer possible in v2.0 In v2.0, if you want to custom sort a FastObjectListView, you will have to subclass FastObjectListDataSource and override the SortObjects()...
Solved. Adding the user that greengrass runs as to the group gpio fixed the issue.
I have learned a bit more. When I run commands in the cli as the greengrass user I get the errors. It definitely seems to be a hardware detection error that is happening but only when run a certain users.
Not running on a RPi! on Pi4B running AWS Greengrass
Perfect! Both worked.
I am using a RMC to edit a cell. I am capturing the model for that row by doing: cellDataBeingEdited = (ToolLocationItem)e.Model; I then change the data in the model. My issue is the OLV does not update while being edited. Am I doing the edit wrong? How do I get the objectListView to update? I have tried all manor of objectListView.Refresh(). Number two. How do I get rid of this menu?