C
C#11mo ago
Florian Voß

❔ DataGrid control in Maui

I am migrating a WPF app to Maui and I have issues translating a WPF <DataGrid> to Maui. There doesn'T seem to be a control that renders a table with columns & rows based on a binded Collection as per this issue https://github.com/dotnet/maui/issues/1259# So now what to do? I could try to build this thing myself with ListView tho but that seems like a horrible approach. Another possibility is to include Telerik UI, they have a DataGrid control for Maui but that adds an additional dependency and even costs money for the license, all that for just a single UI component. I am a little lost on what to do now and its my graduation project so I highly appreciate any help on this
GitHub
[Enhancement] DataGrid Control · Issue #1259 · dotnet/maui
Summary Please provide a datagrid control.
8 Replies
SinFluxx
SinFluxx11mo ago
You could try DevExpress, still an extra dependency but I believe their MAUI controls are free?
Denis
Denis11mo ago
The best approach at this point might be hosting blazor in MAUI There are tons of controls available for Blazor, and you can always write your own with ease For now, because maui is not a mature platform
SinFluxx
SinFluxx11mo ago
Yeah good point
Florian Voß
Florian Voß11mo ago
I have spoken with my boss and he buys license for me for Telerik UI. So I guess the problem is solved, I'll just use their <DataGrid>. Thank you guys correct me if I'm wrong but .Net Maui with Blazor creates hybrid apps right? That means its a Progressive Webapplication that gets containerized into a native application. On the otherside .Net Maui with XAML builds native application directly without containerising a webapplication into a native application. So the performance should be worse when using Maui with Blazor compared to Maui with XAML right? that was one reason why we chose .Net Maui app opposed to .Net Maui Blazor app. The main reason is that we would have to learn Blazor from scratch, while with XAML we are famiiliar from previous WPF project
Denis
Denis11mo ago
I cannot report regarding performance of MAUI+Blazor, but what I can say is that Telerik is kinda meh with performance of their components. Have you done your research of the component vendors? DevExpress from my findings has one of, if not the best components
Florian Voß
Florian Voß11mo ago
not really tbh, the one from Telerik looked good I have not looked at alternatives looking at it now
The DevExpress Mobile UI for .NET MAUI suite includes a collection of iOS and Android UI components. It is available free-of-charge.
it only supports iOS and Android? nah thats not an option I don't see why people would use this, isn't the point of maui to use the same code for all the platforms? I would never voluntarily write platform specific code would I? @Denis
Denis
Denis11mo ago
What platforms do you need? I suppose this is for a company project. So, you need to figure out the needs and requirements of the developed product Is there really a need to have a desktop app for win, Mac, linux? Or maybe a PWA is sufficient and you can claim that your app is cloud ready and clients can install it either on-premises or in the cloud Ofc, that primarily applies to B2B
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ Event-Sourcing for a Duplicated Topic between Two MicroServices@Architecture Hi friends, I'm working on a project using `Microservices` architecture, I have `Aut✅ Opinions on Node.js + C++ vs C# for app that accesses the win32 APIHello all. I'm working on an app that can control the volume of applications through a web interface❔ What is the best OCR engine for .NET?I was searching for the best OCR engine that could convert image to text or pdfsearchable..So, what ✅ Cannot figure out resolve issuehttps://github.com/mekasu0124/Diary I have attempted to resolve the issues in my 3 axaml pages. `/✅ How to resolve CS9017 when trying passing captured arguments by primary constructor to base class?I am using C# 12. The base class: ```csharp public class DbExtension(IOptionsMonitor<AppConfig> app❔ System.BadImageFormatException: Cannot load a reference assembly for execution.Hello, I'm trying to debug this exception in my C# app. I've tried solutions from stack overflow -❔ Suppressing ASP0001: AuthorizationMiddleware is incorrectly configuredI am hosting a Blazor server app and a Web API in the same ASP.NET project, and I have set up my rou❔ Spreadsheet option for a dict / class? (visual studio)I finally set a bunch of stuff up and their working correctly, huzah! Now, i have a dictionary that❔ Constant string value for discriminator using SwashbuckleI've spent hours Googling around and testing. I have a simple table-per-hierarchy pattern going on. ❔ Entity Framework 7 model property as enum is giving conflicts when running migrationI'm trying to create a many to many "pivot" model where it haves 2 fields "GroupId" and "Subscriptio