1.13.2 • Published 7 years ago

sling-web-component-table v1.13.2

Weekly downloads
225
License
-
Repository
-
Last release
7 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

7 years ago

1.13.1

7 years ago

1.13.0

7 years ago

1.12.3

7 years ago

1.12.2

7 years ago

1.12.0

7 years ago

1.11.7

7 years ago

1.11.6

7 years ago

1.11.5

7 years ago

1.11.4

7 years ago

1.11.3

7 years ago

1.11.2

7 years ago

1.11.1

7 years ago

1.11.0

7 years ago

1.8.0

7 years ago

1.7.0

8 years ago

1.6.0

8 years ago

1.5.0

8 years ago

1.4.0

8 years ago

0.17.0

8 years ago

0.16.0

8 years ago

0.15.1

8 years ago

0.15.0

8 years ago

0.14.1

8 years ago

0.14.0

8 years ago

0.13.2

8 years ago

0.13.1

8 years ago

0.13.0

8 years ago

0.12.0

8 years ago

0.11.0

8 years ago

0.10.1

8 years ago

0.10.0

8 years ago

0.9.0

8 years ago

0.8.0

8 years ago

0.7.1

8 years ago

0.7.0

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.36

8 years ago

0.2.34

8 years ago

0.2.32

8 years ago

0.2.31

8 years ago

0.2.30

8 years ago

0.2.29

8 years ago

0.2.28

8 years ago

0.2.27

8 years ago

0.2.26

8 years ago

0.2.25

8 years ago

0.2.24

8 years ago

0.2.23

8 years ago

0.2.22

8 years ago