-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Is it possible to get rid of column headers #136
Comments
I can add this feature for next release. But i can give a workaround:
<MaterialTable
columns={[
{ title: 'Adı', field: 'name' },
{ title: 'Soyadı', field: 'surname' },
{ title: 'Doğum Yılı', field: 'birthYear', type: 'numeric' },
{ title: 'Doğum Yeri', field: 'birthCity', lookup: { 34: 'İstanbul', 63: 'Şanlıurfa' } }
]}
data={this.state.data}
title="Demo Title"
components={{
Header: props => null
}}
options={{
toolbar: false,
paging: false
}}
/> |
Just curious, why is it that there are two sets of curly braces on options. I.e. why do you have to type |
Because first brace for react props. Second one means options is a json object. So you cant give many props with one brace. It is same with style props of component: <div style={{color: 'red'}}>red text</div> |
Add prop options.showDetailPanelIcon
Is it possible to get rid of the column headers?

The text was updated successfully, but these errors were encountered: