Create a Matrix with Groups where RowHeader is the same as Column header

Hi everybody!


Since some days I'm trying to figure out how to create a Matrix view in SfDataGrid, like the one in the attachments.

So far I only have a very simple one but would like to generate a Grid where the Row Headers are grouped and the column headers are exactly the same as the rowheaders.

How can I easily achiev this?


Thank you very much for your help!


Victor

Attachment: Matrix_840fb31b.zip

3 Replies 1 reply marked as answer

MA Mohanram Anbukkarasu Syncfusion Team October 9, 2020 02:16 PM UTC

Hi Victor, 

Thanks for contacting Syncfusion support.  

It is not possible to achieve your requirement directly in SfDataGrid. However we have tried a workaround using GridUnBoundColumn , stacked headers and cell merging support in SfDataGrid and it is available in the following link for your reference. 



 

UG reference :  

Please let us know if you require any other assistance from us.  

Regards, 
Mohanram A. 


Marked as answer

VD Victor Dienstbier November 3, 2020 07:41 AM UTC

Hi Mohanram,

Thank you so much for your help!

It is a bit tricky to achiev this but with your help it now looks fine :-)

Thank you very much!

Victor


MA Mohanram Anbukkarasu Syncfusion Team November 3, 2020 07:51 AM UTC

Hi Victor, 

Thanks for the update.  

We are glad to know that the provided solution worked at your end. Please let us know if you have any further queries on this. We are happy to help you. 

Regards, 
Mohanram A. 


Loader.
Up arrow icon