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

Hide headers

Thread ID:





121286 Nov 26,2015 06:03 PM UTC Nov 30,2015 05:46 AM UTC ASP.NET Web Forms 3
Tags: Grid
Jorge Pampin
Asked On November 26, 2015 06:03 PM UTC


Are there any way to hide all the columns headers?


Sellappandi Ramu [Syncfusion]
Replied On November 27, 2015 06:15 AM UTC

Hi Jorge,

Thanks for contacting Syncfusion support.

We can achieve your requirement by using create event. In this event will trigger after the grid creation.

Refer to the online help documentation for create event.

Document: http://help.syncfusion.com/js/api/ejgrid#events:create

Please refer to the code example and sample,

    <ej:grid id="FlatGrid" runat="server" allowscrolling="true">

        <ScrollSettings Height="400" Width="880" ></ScrollSettings>


               <ej:Column Field="OrderID" HeaderText="Order ID" IsPrimaryKey="true" TextAlign="Right" Width="90">                   


               <ej:Column Field="CustomerID" HeaderText="Customer ID" Width="90">                  


               <ej:Column Field="EmployeeID" HeaderText="Employee ID" Width="110"></ej:Column>

               <ej:Column Field="ShipCity" HeaderText="ShipCity" Width="90" />


        <ClientSideEvents Create="create" />



    <script type="text/javascript">

        function create(args) {


            this.getContent().css("border-top", "1px solid #c8c8c8");


Sample: http://www.syncfusion.com/downloads/support/forum/121286/ze/Sample_1212861265772011

Sellappandi R

Jorge Pampin
Replied On November 27, 2015 07:44 AM UTC


It's perfect! Thank you very much!

Sellappandi Ramu [Syncfusion]
Replied On November 30, 2015 05:46 AM UTC

Hi Jorge, 

Thanks for the update.

Please get back to us if you need any further assistance.  


Sellappandi R


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