Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 715 Bytes

table-page.md

File metadata and controls

45 lines (40 loc) · 715 Bytes

Table Page

A table page is one of the resources that can be defined in the schema and contains the following properties:

apiVersion: 1
kind: TablePage
spec:
  tableId: Coin
  views:
    - id: "Coin/default"
    - id: "Coin/alphabetical"
    - id: "Coin/highestCap"
apiVersion: 1
kind: View
spec:
  id: "Coin/alphabetical"
  type: gridView
  sorters:
    - id: name
      ascending: true
  fields:
    - id: name
    - id: market_cap_rank
    - id: score
apiVersion: 1
kind: View
spec:
  id: "Coin/highestCap"
  type: gridView
  sorters: 
    - id: market_cap_rank
      ascending: false
  fields:
    - id: name
    - id: market_cap_rank
    - id: score