Datatable without headers

UI Components for Angular
Post Reply
microdeveloper
Posts: 82
Joined: 21 Mar 2016, 19:42

28 Apr 2016, 16:59

I am trying to remove the headers of datatable, I tried to find the attribute but no luck. Please guide me is there anyway to remove or hide datatable headers.

cagatay.civici
Prime
Posts: 18108
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

29 Apr 2016, 08:57

Code: Select all

.ui-datatable thead {
   display: none
}
May help.

microdeveloper
Posts: 82
Joined: 21 Mar 2016, 19:42

29 Apr 2016, 14:17

Thanks can we add key so we can easily use leaderless datatable where required.
Thanks.

cagatay.civici
Prime
Posts: 18108
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

29 Apr 2016, 15:32

Sure, that makes sense.

Mehak
Posts: 10
Joined: 02 May 2016, 01:25

02 May 2016, 13:58

I am having the same problem i want to remove headers at global CSS it remove headers in all components but i wan to remove headers in few areas of my so would you please guide me how to add key with styles and use where is required.

Mehak
Posts: 10
Joined: 02 May 2016, 01:25

02 May 2016, 14:00

I am having the same problem i want to remove headers at global CSS it remove headers in all components but i wan to remove headers in few areas of my so would you please guide me how to add key with styles and use where is required.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests