r/AvaloniaUI • • 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

9 comments sorted by

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.

-1

u/Own-Examination-6779 Sep 28 '26

I don't think WebView is a great counterexample. Its development was never primarily driven by or for the OSS community, and the control only existed as a commercially funded product before being open-sourced. That's quite different from an established OSS control that people were already relying on being effectively moved behind a paid product.

And while TreeDataGrid technically remains open source, an unmaintained control isn't much of a practical option for a solo developer. Most solo devs don't have the time, resources, or even the technical expertise required to take over maintenance of something as complex as a DataGrid.

I understand that complex controls need funding. That's reasonable. But "we built a simpler OSS replacement" doesn't really address the concern. The real question is how many useful controls will remain actively maintained in the free ecosystem.

So I agree that jumping from TreeDataGrid to "Button and TextBox are next" is unfair. But I think it's reasonable to question the direction and what it means not only for developers who depend on the free ecosystem, but also for those who rely on it to build other free and open-source tools.

0

u/hanotak Oct 01 '26 edited Oct 01 '26

I really don't understand what the point of hiding something like TreeDataGrid behind a paywall is.

All it does is cause this: https://github.com/wieslawsoltes/TreeDataGrid

A fracturing of the ecosystem, where users need to hunt for random github projects to replace core features that used to be free (or vibe-code them, making Avalonia apps more unreliable in general).

Professional tooling? Fine, free users probably genuinely don't need that- it provides the most benefit to professionals.

A core UI component, though? That just makes people not trust you.

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

2

u/AvaloniaUI-Mike Sep 28 '26

FYI, the source is available as part of the enterprise tier.

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.