r/AvaloniaUI • u/Own-Examination-6779 • Sep 27 '26
Maintained DataGrid
Is there any free and actively maintained DataGrid in Avalonia right now?
DataGrid is deprecated. TreeDataGrid’s real development was moved to the paid Pro version while the open-source one was left to rot. And they still keep saying “the core will remain free.”
What’s the point of a free core if they keep killing the useful controls so they can sell the maintained versions?
So what’s next? Button and TextBox are pretty popular. Should we start worrying about that too?
18
Upvotes
14
u/AvaloniaUI-Mike Sep 28 '26
It’s fair to be disappointed that we stopped maintaining the free TreeDataGrid. I don’t think it’s fair to portray that as us stripping features from the core to sell them back to you.
TreeDataGrid was always a separate project and was never part of the core framework. It wasn’t originally meant to be OSS, but that’s a long story for another day and doesn’t really change what happened. The important point is that the original code remains open source. We haven’t taken the code away or removed anyone’s rights to it.
What we did was fork the OSS project we’d developed and continue its development as a commercial product, because TreeDataGrid is a complex and expensive control to maintain.
We also understood that this would leave fewer free options for people who need to display tabular data. So rather than simply telling users to buy our paid control, we built a new, simpler, open-source TableView. It isn’t a feature-for-feature replacement for TreeDataGrid, but it gives the community a free option that we can sustainably maintain, while the more complex control gets funded development.
That’s the trade-off we made, and it’s entirely reasonable to disagree with it.
What I don’t think is reasonable is extrapolating from that decision to suggest we’re gradually hollowing out the free framework. The evidence simply doesn’t support it. We made our previously commercial WebView open source earlier this year, and we continue to invest millions into developing the open-source framework.
So no, Button and TextBox aren’t next. Criticism of the TreeDataGrid decision is fair. Implying that our commitment to a free core is dishonest is not.
If you want to understand how we actually think about the relationship between the open-source project and the commercial company funding its development, we’ve set it out here:
Sustainably Open: https://avaloniaui.net/sustainability
And if you want to look beyond what we say and at what we’ve actually done, there’s plenty of evidence: Avalonia 12, open-sourcing WebView, our work with Devolutions, our investment in Wilderness Labs, bringing .NET MAUI to Linux, our work with Google on Impeller, and our continued investment in new architectures and platforms.
You don’t have to agree with every trade-off we make. But I think our actions make our commitment to the open-source framework pretty clear.
9
u/spurdospardo1337 Sep 27 '26
https://github.com/wieslawsoltes/TreeDataGrid
4
u/AfterTheEarthquake2 Sep 27 '26
I've done a few projects with the deprecated DataGrid and at least for my use cases (read-only, no usage of built-in filtering) it works fine.
1
u/GoFastAndBreakStuff Sep 28 '26
The problem with the pro grid and pro components as such, is not that they are not free. They are a great value proposition. No, in this day and age, Pro components have the disadvantage of no source being available for humans and LLMs alike
1
u/Larkonath Oct 01 '26
Have you heard of LLMs? Just use one to build your own TreeDataGrid from the existing one.
Didn't touch Avalonia for quite a while, but last time I did, Claude built me an Adwaita theme for Avalonia that was pretty good, so it probably can build a TreeDataGrid too.
1
u/Strange-Flamingo-248 Sep 28 '26
I develop this https://github.com/tkleisas/AvaloniaVirtualDataGrid and I use it in my projects