Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove title in material-table #1621

Closed
lakshmikanth-reddy-au2 opened this issue Feb 6, 2020 · 8 comments
Closed

How to remove title in material-table #1621

lakshmikanth-reddy-au2 opened this issue Feb 6, 2020 · 8 comments

Comments

@lakshmikanth-reddy-au2
Copy link

I'm trying to remove the table title text on the top but couldn't find any solution. I managed to remove the search bar and make title="" but this title will take up the space. I don't want that.
image_2020_02_06T10_48_34_945Z

@mbrn
Copy link
Owner

mbrn commented Feb 6, 2020

Hi

You can use options.toolbar: false.

I will close the issue. You can reopen if it requires

@mbrn mbrn closed this as completed Feb 6, 2020
@AWIXOR-zz
Copy link

The better way to hide the table title is to set showTitle to false in options like this :

options={{
        showTitle: false,
   }}

@AravindTReddy
Copy link

The solution provided by @awixor is perfect.
@mbrn with this options.toolbar: false, It will not only hide the title and also the whole toolbar(where search, export and other functionalities will be lost)
So users can pick their choice accordingly.

@mohamud5
Copy link

showTitle: false removes the text label on the the toolbar while toolbar: false removes the entire toolbar including the title

@QuentonB
Copy link

@mohamud5 This worked perfectly for me thanks!

@guilhermeludiokmm
Copy link

Someone can help me?
I need hide the header cell

@QuentonB
Copy link

@guilhermeludiokmm have you tried what @mohamud5 said?

showTitle: false removes the text label on the the toolbar while toolbar: false removes the entire toolbar including the title

@dschetu
Copy link

dschetu commented Jul 26, 2021

options={{ toolbar:false , paging:false,}} for removing header and footer section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants