We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hierarchy-based SfDataGrid

Thread ID:





128288 Jan 12,2017 02:16 PM UTC Jan 16,2017 09:39 AM UTC Xamarin.Forms 3
Tags: SfDataGrid
Joan Lopez
Asked On January 12, 2017 02:16 PM UTC


I want to create a hierarchy-based SfDataGrid and I think it's possible but I can't see how to do it.

The idea is similar to the grouping sample but a bit different.

The main differences between the data grid I want and the samples are:
  1. I want more than one level (at least three) of hierarchy.
    So I should be able to expand one item of the first level, then it should show below the items inside it (second level items).
    Then this second level items should be also expandable with the same way.

  2. There are no group header rows, the only thing is that each row corresponds to one determined level.
    The data structure (columns) for each row is the same, not as the samples which has no columns.

  3. The text formatting style (font size, font colour, etc) has to be different depending on the level.

  4. When all the items in all the levels are expanded, the data grid appearance has to be quite similar to a normal grid:
    A list of rows with a value for each column. Of course, each one with the proper text formatting style.

In order to clarify my idea you can think about a data grid intended to show sales-related data (total sales, market share, growth, etc):
-You will have a row with the national data. Then, below this one you will have one row for each province. Finally, below each of these rows you will have one row for each municipality below the proper province row.
-Each level will be able to be expanded or collapsed. For example you can collapse all by collapsing the national row. Then you can expand this one to show only the data of each province. Finally you can expand any province row to view the data from each municipality inside this province.

I think that's all. 
I can provide any other information that will help you to clarify me how I can reproduce this kind of grid.

Thanks a lot,

Harikrishnan N [Syncfusion]
Replied On January 13, 2017 08:05 AM UTC

Hi Joan Lopez,

Thank you for using Syncfusion Products.

We have considered your requirement as a feature request. A support incident to track the status of this feature has been created under your account. Please log on to our support website to check for further updates



Joan Lopez
Replied On January 13, 2017 08:31 AM UTC

Thanks a lot for your support :)

Ashok N [Syncfusion]
Replied On January 16, 2017 09:39 AM UTC

Hi Joan, 

Thanks for your update. Please let us know if you requirement further assistance on this. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon