1.13.2 • Published 5 years ago

sling-web-component-table v1.13.2

Weekly downloads
225
License
-
Repository
-
Last release
5 years ago

sling-web-component-table

Install

npm install sling-web-component-table

Tag

  <sling-table></sling-table>

Dependencies

  • sling-framework
  • sling-helpers
  • sling-web-component-brand-icon

    Attributes and properties

NameTypeDefault ValuesReflectToAttributeObservercallSdk
srccolumnsArray
srcdataArray
noheaderBooleanfalse:heavy_check_mark:
clickablerowsBooleanfalse:heavy_check_mark:

Description

NameDescription
srccolumnsArray with the specification of the table columns. Each element of array is an object representing a column in the format { title: 'Column Label', field: 'columndatakey' }.
srcdataArray containing data to be shown. Each element of array is an object with field names informed in srccolumns.
noheaderHides table header.
clickablerowsEnables click event for table rows.

Events

  • rowclicked

Description: The event is triggered when a row is clicked and passes this information to the parents.

Examples

All component examples can be emulated using the npm start sling-web-component-table command.

Usage

<sling-table></sling-table>
<sling-table noheader></sling-table>

image

<sling-table clickablerows></sling-table>

image

<sling-table noheader clickablerows></sling-table>

image

1.13.2

5 years ago

1.13.1

5 years ago

1.13.0

5 years ago

1.12.3

5 years ago

1.12.2

5 years ago

1.12.0

5 years ago

1.11.7

5 years ago

1.11.6

5 years ago

1.11.5

6 years ago

1.11.4

6 years ago

1.11.3

6 years ago

1.11.2

6 years ago

1.11.1

6 years ago

1.11.0

6 years ago

1.8.0

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

0.17.0

6 years ago

0.16.0

6 years ago

0.15.1

6 years ago

0.15.0

6 years ago

0.14.1

6 years ago

0.14.0

6 years ago

0.13.2

6 years ago

0.13.1

6 years ago

0.13.0

6 years ago

0.12.0

6 years ago

0.11.0

6 years ago

0.10.1

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.0

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.36

6 years ago

0.2.34

6 years ago

0.2.32

6 years ago

0.2.31

6 years ago

0.2.30

6 years ago

0.2.29

6 years ago

0.2.28

6 years ago

0.2.27

6 years ago

0.2.26

6 years ago

0.2.25

6 years ago

0.2.24

6 years ago

0.2.23

6 years ago

0.2.22

6 years ago