Mui-datatables: Render without Card?

Created on 7 Nov 2018  路  3Comments  路  Source: gregnb/mui-datatables


Seems to be no option to render the component without a Card?

Expected Behavior


Would like an option to customize the base component to even be a react fragment to render inline inside other cards etc.

Current Behavior


Can only render with its own card

Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | 3.2 |
| MUI-datatables | 2.0.0-beta-37 |
| React | 16.3.2 |
| browser | any |
| etc | |

Most helpful comment

I'll add this feature. it will be a new option called paper and default true

All 3 comments

I'll add this feature. it will be a new option called paper and default true

I see that the implementation uses the Paper Material UI Component. Wouldn't it be better to have an elevation option? Where 0 = no elevation and no shadow. Default should be 4 or 2 I'm not sure

In the latest version there is now an option called elevation which you can set to 0 to hide the default elevation provided to the Paper component.

Was this page helpful?
0 / 5 - 0 ratings