Header Sort

Header Sort

This component can be used in a table or lists header cells to provide sorting on that column.

Example

API

Name Type Default Description
title string Column header title. REQUIRED
sortName string Sorted property name (to map with the data to sort). REQUIRED
activeSort object Currently sorted column (only one at a time). Object of the format {column: sortName:string, descending: <boolean:true
onSort func A callback fired when the user click on this header to sort it. REQUIRED

Used by

Team
Bumblenauts