menu

Materialize Table


Materialize Table Materialize Provides Utility Classes to create tables, Using these classes we can create beautiful tabales. Here in this tutorial we are going to explain how to create different-different tables using these classes. You can also use our online editor to edit and run the code online.


Materialize Table Example

You can use the utility classes to create following tables-

Borderless Table

[su_divider top=”no” margin=”5″]

By Default Tables in Materialize Framework are borderless. If you do not Add any class to the table then it will be borderless table. Here is an example of borderless table-

How to create Borderless Table in Materialize ?

Try it »

If you run the above example it will produce output something like this –

Materialize Table Example

Bordered Table

[su_divider top=”no” margin=”5″]

To create Bordered Table add class bordered to the table tag. Here is an example of bordered table –

How to create Bordered Table in Materialize ?

Try it »

If you run the above example it will produce output something like this –

Materialize Bordered Table

Striped Table

[su_divider top=”no” margin=”5″]

To create Striped Table add class striped to the table tag. Here is an example of Striped table –

How to create Striped Table in Materialize ?

Try it »

If you run the above example it will produce the output something like this –

Materialize Striped Table

Highlight Table

[su_divider top=”no” margin=”5″]

To create Highlight(ie. change row background on hover) Table add class highlight to the table tag. Here is an example of Highlight table –

How to create Highlight Table in Materialize ?

Try it »

Centered Table

[su_divider top=”no” margin=”5″]

To create Centered Table add class centered to the table tag. Here is an example of Centered table –

How to create Centered Table in Materialize ?

Try it »

If you run the above example it will produce the output something like this –

Materialize Centered Table

Responsive Table

[su_divider top=”no” margin=”5″]

To create Responsive Table add class responsive-table to the table tag. Here is an example of Responsive table –

How to create Responsive Table in Materialize ?

Try it »

Responsive table will be scrollable on smaller screens.

Advertisements