Tables
All Boostrap classes for tables are supported and improved. Besides the simple and striped tables, we added tables that have actions and tables with switches. We also combine Element-UI tables to achieve highly customizable tables that can suit any needs. You can see some code samples below:
To use the table component, import it
import {Table, TableColumn} from 'element-ui'
Global usage
Vue.use(Table)
Vue.use(TableColumn)
For local usage
export default {
components: {
[Table.name]: Table,
[TableColumn.name]: TableColumn
}
}
Table with actions
Name | Job Position | Salary | Actions |
---|
1 | Andrew Mike | Develop | € 99,225 | |
2 | John Doe | Design | € 89,241 | |
3 | Alex Mike | Design | € 92,144 | |
4 | Mike Monday | Marketing | € 49,990 | |
5 | Paul dickens | Communication | € 69,201 |
Table with switches
Name | Job Position | Salary | Active |
---|
1 | Andrew Mike | Develop | € 99,225 | |
2 | John Doe | Design | € 89,241 | |
3 | Alex Mike | Design | € 92,144 | |
4 | Mike Monday | Marketing | € 49,990 | |
5 | Paul dickens | Communication | € 69,201 |
Shopping table
Product | Color | Size | Price | Quantity | Amount |
---|
![]() | Black | M | €
3390
|
1
| €
3390
| ||
![]() | Black | M | €
499
|
2
| €
998
| ||
![]() | Red | M | €
200
|
1
| €
200
|