Skip to content

Commit

Permalink
Added new :event named param to Table event handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Mar 4, 2017
1 parent d609a9c commit 3fc7b9d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/Table.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ This component expects explicit `width` and `height` parameters.
| height | Number || Fixed/available height for out DOM element |
| id | String | | Optional custom id to attach to root `Table` element. |
| noRowsRenderer | Function | | Callback used to render placeholder content when :rowCount is 0 |
| onHeaderClick | Function | | Callback invoked when a user clicks on a table header. `(dataKey: string, columnData: any): void` |
| onRowClick | Function | | Callback invoked when a user clicks on a table row. `({ index: number }): void` |
| onRowDoubleClick | Function | | Callback invoked when a user double-clicks on a table row. `({ index: number }): void` |
| onRowMouseOut | Function | | Callback invoked when the mouse leaves a table row. `({ index: number }): void` |
| onRowMouseOver | Function | | Callback invoked when a user moves the mouse over a table row. `({ index: number }): void` |
| onHeaderClick | Function | | Callback invoked when a user clicks on a table header. `({ columnData: any, dataKey: string, event: Event }): void` |
| onRowClick | Function | | Callback invoked when a user clicks on a table row. `({ event: Event, index: number, rowData: any }): void` |
| onRowDoubleClick | Function | | Callback invoked when a user double-clicks on a table row. `({ event: Event, index: number, rowData: any }): void` |
| onRowMouseOut | Function | | Callback invoked when the mouse leaves a table row. `({ event: Event, index: number, rowData: any }): void` |
| onRowMouseOver | Function | | Callback invoked when a user moves the mouse over a table row. `({ event: Event, index: number, rowData: any }): void` |
| onRowsRendered | Function | | Callback invoked with information about the slice of rows that were just rendered: `({ overscanStartIndex: number, overscanStopIndex: number, startIndex: number, stopIndex: number }): void` |
| overscanRowCount | Number | | Number of rows to render above/below the visible bounds of the list. This can help reduce flickering during scrolling on certain browsers/devices. |
| onScroll | Function | | Callback invoked whenever the scroll offset changes within the inner scrollable region: `({ clientHeight: number, scrollHeight: number, scrollTop: number }): void` |
Expand Down

0 comments on commit 3fc7b9d

Please sign in to comment.