This is a migrated thread and some comments may be shown as answers.

WPF RadGridView Hierarchical On Demand

3 Answers 237 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 17 Oct 2017, 07:28 PM

Using RadGridView in as a Hierarchical grid is it possible to bind the initial parent level and then load any other levels on demand as they are being opened by the user?  If so, does anyone have sample code on how to make this work?  I do not see much in the way of documentation for this in the RadGridView WPF documentation.

With some larger customer datasets our screen is slow at loading all of the data at one time.

Thanks...

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Oct 2017, 09:47 AM
Hi David,

Such on demand data loading needs to be implemented manually by defining the needed query. The topic is discussed in greater detail in the Hierarchy Load On Demand With RadGridView and How To: grid hierarchy load on demand using MVVM blog posts. Though they are a bit outdated, you should be able to use a similar approach for meeting your requirement.

I hope you find this helpful.

Have a great weekend, David.

Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
kefilwe
Top achievements
Rank 1
answered on 04 Apr 2018, 10:16 AM
how to set Radgridview rows and columns manually I want to have 5 rows and 2 columns in my gridview
0
Stefan
Telerik team
answered on 06 Apr 2018, 03:04 PM
Hello Kefilwe,

In order to get familiar with the approach of defining the columns of RadGridView, please take a look at the Defining Columns article. As for the rows, since the control is a data-bound component, they will correspond to the items that are added to the bound source collection. I encourage you to review the Getting Started article, as it covers the topic in details.

Hope this helps.

Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
David
Top achievements
Rank 1
Answers by
Stefan
Telerik team
kefilwe
Top achievements
Rank 1
Share this question
or