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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to hide the grid header

Thread ID:

Created:

Updated:

Platform:

Replies:

128297 Jan 12,2017 06:29 PM UTC Jan 13,2017 08:07 AM UTC ASP.NET Core 1
loading
Tags: Grid
dsapo
Asked On January 12, 2017 06:29 PM UTC

Hi Support:

We need to hide the header of ej-grid.  

Would be possible to achieve that ?

Thanks in advanced


David

Prasanna Kumar Viswanathan [Syncfusion]
Replied On January 13, 2017 08:07 AM UTC

Hi David, 

Thanks for contacting Syncfusion support. 

To hide the column header in ejGrid, use dataBound event of ejGrid. It can be achieved by using the create event where you can the grid elements at the initial state itself. Also you can get the grid header element by using the getHeaderContent method
 
Find the code example:  
 

function databound(args) {   this.getHeaderContent().hide(); 
} 


Refer to the Help document for the getHeaderContent method and dataBound event. 



If we misunderstood your query, please get back to us. 

Regards, 
Prasanna Kumar N.S.V 


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.

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

;