Manual Reference Source
public class | source

TableRowExpandable

Extends:

react~Component → TableRowExpandable

Defines expandable row in data table. Two <tr> elements are rendered by DataTable component from one DataTable.ExpandableRow component.

Access

Stage.Basic.DataTable.RowExpandable

Usage

<DataTable.RowExpandable key="prestashop" expanded={true}>
     <DataTable.Row key="prestashop" selected={true} onClick={()=>this.onRowClick(item)}>
         <DataTable.Data><a href="javascript:void(0)">Prestashop store</a></DataTable.Data>
         <DataTable.Data>2017-01-05</DataTable.Data>
         <DataTable.Data>description for e-commerce solution</DataTable.Data>
     </DataTable.Row>
     <DataTable.DataExpandable>
         additional info when row becomes expanded
     </DataTable.DataExpandable>
</DataTable.RowExpandable>

Static Member Summary

Static Public Members
public static

Static Public Members

public static defaultProps: * source

Properties:

NameTypeAttributeDescription
expanded boolean
  • optional
  • default: false

if true, then expandable part of the row will be shown