Skip to content
This repository was archived by the owner on May 3, 2021. It is now read-only.

- add: support config for the 6 params supported by Material-UI - #20

Open
kavimaluskam wants to merge 1 commit into
thechinedu:masterfrom
kavimaluskam:master
Open

- add: support config for the 6 params supported by Material-UI#20
kavimaluskam wants to merge 1 commit into
thechinedu:masterfrom
kavimaluskam:master

Conversation

@kavimaluskam

Copy link
Copy Markdown

Testing file missed tho.
Fixed issue:

#17
#18

…showCheckboxes, enableSelectAll, showRowHover, stripedRow) supported by Material-UI. (Testing missed)
@kavimaluskam

Copy link
Copy Markdown
Author

And thank you so much for your work @andela-cdaniel !!!

@cvaladez

cvaladez commented Jun 3, 2017

Copy link
Copy Markdown

this addition will be great!

@cvaladez

cvaladez commented Jun 3, 2017

Copy link
Copy Markdown

might want to consider that this line in the code

<TableFooter
adjustForCheckbox={ this.props.config.showCheckboxes }

if you set this as false and you have pagination as true, the pagination does not show

@kavimaluskam

Copy link
Copy Markdown
Author

Yes. @cvaladez But as material-ui itself has similar situation, i just let it be the case.

@cvaladez

cvaladez commented Jun 5, 2017

Copy link
Copy Markdown

why not use
TableFooter
adjustForCheckbox={ this.props.config.pagination }

This will adjust the footer only when you have pagination

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants