Telerik blogs

In our fourth .NET MAUI Challenge, we’ll look at the Data Grid from Telerik.

Howdy! 🙋‍♀️ Welcome to #NetMauiChallenges! Thank you very much for accepting this challenge! 😎 These posts will be launched periodically and will be exploring topics that will help you continue to grow in .NET MAUI!

You will see that the challenges focus on simple and very specific but important topics. The goal here is that you can take the time to delve into each one. We want learning to be fun for you, so regardless of the day and the time you are viewing this article, it will only take a few minutes!

How Our Challenges Work

Each challenge has a structure that is easy to understand and that complies with three important points to be of real help for your professional development:

  • 🗒 Statement of the challenge: You will always see an image which gives you a description of what the challenge expects from you. After this, you will see three possible answers from which you can only select one.

  • 🔐 Solution: In each challenge, you will receive the option that solves the question. It will be hidden so that you first analyze it and then click to see the correct answer with its respective explanation.

  • 📔 Study resources: Once you see the correct answer, each challenge's solution will have study resources so you can delve deeper into it.

Prefer to Learn via Video?

You can watch a video version of this post here:

Telerik DataGrid for .NET MAUI

Most of the data on the internet is stored in tables within a database. The DataGrid component from Progress Telerik UI for .NET MAUI provides the same abstraction over the data—it has columns and rows, and the intersection of a row and a column is called a cell.

This time, we will learn a little about how to use columns in a .NET MAUI DataGrid! It is very important that you know what type of column is indicated for our Grid so that the added controls make the best possible representation of what is needed in your app. Let’s see the challenge!

What are the approaches you can take to define different columns in the Telerik DataGrid?

A screenshot of the Telerik DataGrid component, showing multiple different columns and subgroups of information.

Option A:


Option B:


Option C:


Do you already have the answer? Perfect! Please click below to see the solution—here you can see the correct answer and its explanation with supporting materials.

The correct answer is option C! 💥


The correct answer is C due to the following points:

There are only three column types, which are: Manually, Automatically and Mixed, so the remaining presented in the options are not valid.

Delving a little into each mode, we have the following uses:

  • Manually: It allows you to add the column manually. You just have to add the columns to the RadDataGrid.Columns collection.
  • Automatically: It allows you to add the column automatically. You just have to set the RadDataGrid.AutoGenerateColumns="True", and the columns you need will be auto-generated.
  • Mixed: It’s a mix of the two points mentioned above. So, you can add both manually and automatically.


📒 Study Resources


We invite you to share this challenge on your networks using the hashtag #NetMauiChallenges.

See you next time! 🙋‍♀️ I hope you liked it and it was useful!

Thanks for reading! 💚

About the Author

Leomaris Reyes

Leomaris Reyes is a Software Engineer from the Dominican Republic, with more than 5 years of experience. A Xamarin Certified Mobile Developer, she is also the founder of  Stemelle, an entity that works with software developers, training and mentoring with a main goal of including women in Tech. Leomaris really loves learning new things! 💚💕 You can follow her: Twitter, LinkedIn , AskXammy and Medium.

Related Posts


Comments are disabled in preview mode.