DataGrid - Somehow an Achilles' heel? #16235
Replies: 3 comments 6 replies
-
DataGrid and table views in general are a problem in this type of framework, and not just for Avalonia.
So as can be seen this is still an unsolved problem and the whole ecosystem is still searching for a general-purpose solution. This also says nothing about 3rd party DataGrids of which you can find the best implementations. Some 3rd party controls are MVVM friendly and support very complex things in a simple way -- these controls likely took thousands of hours to develop though. Someday Avalonia might attempt a port of WPF's DataGrid. Someday we might have a light-weight TableView or GridView control as well. However, right now use TreeDataGrid if you can first then fall back to the current DataGrid second. Third-party more advanced controls will hopefully step in here too. |
Beta Was this translation helpful? Give feedback.
-
Sorry I didn't reply you in my Ursa repo because I was so addicted to my calendar view... |
Beta Was this translation helpful? Give feedback.
-
Filtering and sorting should be in the VM layer imo. A filter in the control itself would heavily rely on reflection which is not perfect for several reasons imo. |
Beta Was this translation helpful? Give feedback.
-
Hi folks,
I have been developing with WPF since 2019, but I do not consider myself a master in WPF. I am a background guy and use things like MahApps to make my life easier.
It has also been a while since I started considering (actually, it is already decided now) rewriting the entire UI of my software in Avalonia. The idea of keeping my ViewModels the same and running my application on macOS/Linux/Android Tablets makes me very excited.
Well, just to give you some context, my application is an ERP with something between 200-250 windows. I asked some questions and provided some information/screenshots here: #14188.
I have built some small applications in Avalonia to understand and learn about it, and I had no big problems, but I feel like DataGrid is an Achilles' heel.
Why do I feel like this:
Again, I am not the guy who takes Avalonia and makes big changes; I would use things like Avalonia.Material, Ursa, ActivePro... I want productivity even if I have to pay for a component like ActivePro.Avalonia.
I found everything I wanted for my ERP; even my reports, which are built upon FastReports, have a solution now. But DataGrid does not have (I did not find) solutions, even paid ones.
Things like https://github.com/dotnet/DataGridExtensions are not available. I asked on Ursa about this: irihitech/Ursa.Avalonia#128.
My whole point is: How true is my feeling? Am I not knowing how to search? Is there any better solution for DataGrids (open-source or not)?
Beta Was this translation helpful? Give feedback.
All reactions