Can I render a Grid without the header row?

1 Answer 5 Views
Grid
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Grant asked on 03 Dec 2025, 05:38 AM

Hi team, 

As the title says, I have a use case where I want to render a Grid without the Header Row. My use case is i want to easily display a small grid (2 columns) and the header row is unnecessary and takes up space, the data speaks for itsself.

I tried to use the rows.data attr to conditionally ignore the header row, but it turns out that rows.data only executes for the data rows (obviously) and the only other optiosn are groupHEader and groupFooter.

Can you help at all?

Thanks,
Grant

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 04 Dec 2025, 01:52 PM

Hello, Grant,

You can hide the Grid row with a similar CSS style:

div.k-grid-header {
  display: none;
}

For convenience, I have prepared a sample demonstrating this approach - is this the result you are trying to achieve?

Regards,
Vessy
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Grant
Top achievements
Rank 3
Iron
Iron
Iron
commented on 05 Dec 2025, 07:58 AM

Thanks Vessy, I've chossen to go with a differnt appraoch to render the data. But your solution bring up a question.

Why the inconsistency? Any data row or groupHeader/groupFooter row can be conditionally rendered usign the rows prop, why not the header row?
Vessy
Telerik team
commented on 05 Dec 2025, 09:20 AM

Hi, Grant,

Thank you for the shared feedback. I will pass your thoughts to our developers, meanwhile if you prefer to hide the header row via custom rendering, you can do it by implementing a custom header cells (instead of rows):

      <Grid
        style={{
          height: '475px',
        }}
        data={data}
        dataItemKey="ProductID"
        autoProcessData={true}
        cells={{
          headerCell: () => <></>,
        }}
      >

 

Tags
Grid
Asked by
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Vessy
Telerik team
Share this question
or