TableCell (extends KompElement)
The cell for Table
Syntax
new Cell({
record: {
name: 'Corey Seager',
position: 'SS',
bats: 'L'
},
column: new Column({
render: record => record.name
})
})
Options
types | description | arguments | |
---|---|---|---|
content
|
String, HTMLElement, Array, Object |
content to append to element. Passed to Dolla's |
|
record
|
Object, Function |
Instance of a record or function that returns a record |
record:Object |
column
|
Object |
Instance of a KompColumn |