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

Multi level Stacked Headers

Thread ID:

Created:

Updated:

Platform:

Replies:

141960 Jan 13,2019 07:53 AM UTC Jan 14,2019 02:47 PM UTC JavaScript 1
loading
Tags: ejTreeGrid
Mohamed Salah
Asked On January 13, 2019 07:53 AM UTC

Hello,
     I want to make multi level Stacked Headers in tree grid like attached image.

Regards, 
M. Salah

Attachment: Capture_4500cbbe.rar

Jonesherine Stephen [Syncfusion]
Replied On January 14, 2019 02:47 PM UTC

Hi Mohamed, 
Thanks for contacting Syncfusion support. 
Using “stackedHeaderColumns” we can render multiple stacked header in TreeGrid. Please find the code example below: 
$("#TreeGridContainer").ejTreeGrid({ 
                stackedHeaderRows: [{ 
                    stackedHeaderColumns: [{column: "ID,Name,category,units", headerText: "Shipment details", textAlign: ej.TextAlign.Center }, 
                    {column: "unitPrice,price", headerText: "Price details", textAlign: ej.TextAlign.Center }] 
                }, 
                { 
                    stackedHeaderColumns: [{column: "Name,category,unitPrice", headerText: "details", textAlign: ej.TextAlign.Center }, 
                    ] 
                }] 
            }) 
  
We have also prepared the sample based on this. Please find the sample from below location  
Regards, 
Jone sherine P S 


CONFIRMATION

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

This page will automatically be redirected to the 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

;