You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pavlo Aksonov edited this page Aug 19, 2015
·
4 revisions
Welcome to the react-native-tableview wiki!
TableView attributes
selectedValue (optional) - value to select. TableView.Cell which have 'value' the same as selectedValue will be marked with "checkmark". Also the component will scroll to this cell to make it visible.
onPress(event) - event handler raised after selecting cell. Event attributes
selectedIndex - index of selected cell
selectedSection - index of selected section
value - value of selected cell (optionally, cell contains 'value' attribute)
also event contains all key/values of selected cell, so user could put some custom attributes into cells.