Native iOS UITableView for React Native

Category: React Native , Table | May 22, 2016
Author: aksonov
Views Total: 127
Official Page: Go to website
Last Update: May 22, 2016
License: MIT

Native iOS UITableView for React Native with JSON support.

Features:

  • Look and feel native iOS TableView (with group/plain tableview type, sections headers, etc)
  • Display long lists of data (like country list) – built-in list view has performance issues for long lists
  • Use built-in accessory types (checkmark or disclosure indicator)
  • Automatic scroll to initial selected value during component initialization (autoFocus property)
  • Automatic item selection with “checkmark” with old item de-selection (optionally), see demo, useful to select country/state/etc.
  • Native JSON support for datasource. If you need to display large dataset, generated Javascript will became very large and impact js loading time. To solve this problem the component could read JSON directly from app bundle without JS!
  • Filter JSON datasources using NSPredicate syntax. For example you could select states for given country only (check demo)
  • Create custom UITableView cells with flexible height using React Native syntax (TableView.Cell tag)
  • Use tableview as menu to navigate to other app screen
  • Native editing mode for table – move/delete option is supported by using attributes canMove, canEdit for items/sections

Preview:

react-native-tableview