Home Manual Reference Source
public class | source

TableRow

Extends:

react~Component → TableRow

Defines table rows, renders <tr> elements.

Access

Stage.Basic.DataTable.Row

Usage

<DataTable.Row key="joomla" selected={false} onClick={()=>this.onRowClick(item)}>
     <DataTable.Data><a href="javascript:void(0)">Joomla website</a></DataTable.Data>
     <DataTable.Data>2015-08-14</DataTable.Data>
     <DataTable.Data>description for website</DataTable.Data>
</DataTable.Row>

Static Member Summary

Static Public Members
public static

Static Public Members

public static propTypes: * source

Properties:

NameTypeAttributeDescription
children object[]

row content

selected boolean
  • optional
  • default: false

if true, then row will be marked as selected

onClick function

action to be executed on click event

showCols string[]

array of column's names to be shown

className string
  • optional

name of the style class to be added