Skip to main content

Work on Row

react-bootstrap-table-ng allow you to custom the row style/class/attributes and event on row(tr)

Live Demo For Rows


Row Style/Class

Row Events

Currently, react-bootstrap-table-ng only wrapped up the following events to allow its callback to receive row and rowIndex, for example:

  • onClick
  • onDoubleClick
  • onMouseEnter
  • onMouseLeave
  • onContextMenu
  • onAuxClick
const rowEvents = {
onClick: (e, row, rowIndex) => {
....
}
};
`<BootstrapTable` data={ data } columns={ columns } rowEvents={ rowEvents } />`

Anyway, it's welcome to ask us to add more wrapped events.

Row Attributes

Coming Soon!