1.6.0 • Published 4 years ago

tueble v1.6.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Tueble - A Vuejs table component

npm version

Work in progress!

Properties

Tueble (Root Table Component)

PropertyRequired?Default ValueDescription
dataYes--Data that will be used to render the table
default-sort-byNo--Initial order of the table
default-sort-orderNoascInitial sort order. asc for ascending and desc for descending
table-classNo--Classes that will be added to the table
table-body-classNo--Classes that will be added to the table body (tbody)
filter-textNo--Term used to filter the table. Applies only to columns with the filterable property enabled
filter-min-sizeNo2Minimal length of the filter search field to filter the table
filter-min-sizeNo2Minimal length of the filter search field to filter the table
no-data-textNo"No results found"Text to show when the filtered dataset is empty

Column Component

PropertyRequired?Default ValueDescription
showNo--Sets which object's property to display. Must be provided if index prop is false
sortableNotrueSets the column as sortable
filterableNotrueIf true, the search text will be compared to the column contents
labelYes--Sets the text of the column header
indexNofalseIf true column will show row number
column-classNo--Classes that will be added to column
column-header-classNo--Classes that will be added to column header
highlightNofalseIf true finds specified terms in your input text and adds HTML tag around them. Does not apply when using custom slots

Filter By Domain Component

PropertyRequired?Default ValueDescription
filter-byYesArraySet of elements to be checked in the column provided
filter-columnYesStringName of the column to be searched for
1.6.0

4 years ago

1.5.3

4 years ago

1.5.2

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.1

6 years ago

1.3.0

6 years ago