Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

table

v0.1.5arrow_drop_down
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.0
STATUS
Passing
DOWNLOADS
53
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 months ago
SIZE
31 KB
1 contributor
Use table in your project ?
Copied
npm i @bit/ans.base-ui.table
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
modifieddraft
modifieddraft
chevron_left
chevron_right
Properties
NameTypeDefault valueDescription
onSelect
function
columns
{"title":"string","dataIndex":"string","render":"function","key":"string"}[]
row
{"key":"string"}
selected
bool
column
{"title":"string","dataIndex":"string"}
sortable
bool
onClick
function
currentSortIndex
string
currentSortDirection
'asc' | 'desc'
loading
bool

whether to show the loading state

loadingBars
number10

the number of loading bars (default: 10)

onSort
function

callback when table is sorted

onSelect
function

callback when row(s) are selected - enables selection when defined

sortable
booltrue

whether to make the table sortable