Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Wolfram Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • System Modeler
  • Wolfram Player
  • Finance Platform
  • Wolfram Engine
  • Enterprise Private Cloud
  • Application Server
  • Wolfram|Alpha Notebook Edition
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

WolframConsulting.com

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Wolfram Notebook Assistant + LLM Kit
    • System Modeler
    • Wolfram Player
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Wolfram Engine
    • Enterprise Private Cloud
    • Application Server
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
TableView
  • See Also
    • Grid
    • TextGrid
    • InputField
    • TableForm
    • MatrixForm
    • Dataset
  • Related Guides
    • Control Objects
    • Grids & Tables
    • Layout & Tables
    • See Also
      • Grid
      • TextGrid
      • InputField
      • TableForm
      • MatrixForm
      • Dataset
    • Related Guides
      • Control Objects
      • Grids & Tables
      • Layout & Tables

TableView[{{expr11,expr12,…},{expr21,expr22,…},…}]

displays as a spreadsheet-like table view for editing and viewing exprij.

TableView[Dynamic[x]]

takes the contents of the table view to be the dynamically updated current value of x, with the value of x being reset as the table view is interactively edited.

TableView[table,type]

uses the specified type by default to represent newly edited or created entries in the table view.

TableView[]

displays an empty table view.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Structure  
Types  
Options  
Alignment  
AllowedDimensions  
AppearanceElements  
Show More Show More
Background  
BaselinePosition  
HeaderSize  
ImageSize  
Scrollbars  
ScrollPosition  
Properties & Relations  
Neat Examples  
See Also
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • Grid
    • TextGrid
    • InputField
    • TableForm
    • MatrixForm
    • Dataset
  • Related Guides
    • Control Objects
    • Grids & Tables
    • Layout & Tables
    • See Also
      • Grid
      • TextGrid
      • InputField
      • TableForm
      • MatrixForm
      • Dataset
    • Related Guides
      • Control Objects
      • Grids & Tables
      • Layout & Tables

TableView

TableView[{{expr11,expr12,…},{expr21,expr22,…},…}]

displays as a spreadsheet-like table view for editing and viewing exprij.

TableView[Dynamic[x]]

takes the contents of the table view to be the dynamically updated current value of x, with the value of x being reset as the table view is interactively edited.

TableView[table,type]

uses the specified type by default to represent newly edited or created entries in the table view.

TableView[]

displays an empty table view.

Details and Options

  • TableView produces an interface that works similarly to common spreadsheet interfaces. Columns may be resized. Selections of entire rows, columns or blocks may be cut and pasted. Strings and numbers are automatically differentiated upon editing. The view may be scrolled to accommodate large numbers of entries.
  • The following are possible values of type:
  • Numbernumber
    Stringstring
    Expressionexpression
    Hold[Expression]expression in held form
    Boxesraw boxes
    {Number,String}use numbers when possible, or strings otherwise
  • When type is not specified, TableView defaults to {Number,String}.
  • The following options can be given:
  • Alignment {Center,Baseline}horizontal and vertical alignment of items
    AllowedDimensions Automaticrestrictions on number of rows or columns
    AppearanceElements Automaticelements to include in the displayed view
    Background Nonewhat background colors to use
    BaselinePosition Automaticwhat to align with a surrounding text baseline
    BaseStyle{}base style specifications for the grid
    EnabledTruewhether the individual entries can be edited
    HeaderSize Automaticwidth and height of headers
    HeadersAutomaticrow and column labels
    ImageSize Automaticthe overall size of the table view
    ItemSizeAutomaticwidth and height of each item
    ItemStyleNonestyles for columns and rows
    Scrollbars Automaticwhether to include scrollbars
    ScrollPosition {0,0}scroll position if scrolling is enabled
  • Settings for the options Alignment, Background, ItemSize and ItemStyle can be given as follows to apply separately to different items:
  • specapply spec to all items
    {specx}apply specx at successive horizontal positions
    {specx,specy}apply speck at successive horizontal and vertical positions
    {specx,specy,rules}also allow explicit rules for individual i, j elements
  • The speck can have the following forms:
  • {s1,s2,…,sn}use s1 through sn, then use defaults
    {{c}}use c in all cases
    {{c1,c2}}alternate between c1 and c2
    {{c1,c2,…}}cycle through all ci
    {s,{c}}use s, then repeatedly use c
    {s1,s2,…,{c1, c2,…},sm,…,sn}use the first sequence of si at the beginning, then cyclically use ci, then use the last sequence of si at the end
    {i1->v1,i2->v2,…}specify what to use at positions ik
    {spec,rules}use rules to override specifications in spec
  • TableView supports viewing and creation of ragged tables of data.
  • Empty entries in TableView are omitted upon evaluation if they can be clipped from the right edge of the table. If empty entries are within a table, they are represented as empty strings or Null as appropriate for the specified type.
  • Setting may be used with TableView to extract the underlying data.
  • TableView is specifically designed to allow efficient viewing, editing and file storage of very large tables of data in notebooks.
  • Possible elements in AppearanceElements include "RowHeaders", "CollapsedRowHeaders", "ColumnHeaders", "CollapsedColumnHeaders", "Frame" and "ResizeArea".

Examples

open all close all

Basic Examples  (2)

Numerical data in TableView:

Numbers and strings:

Scope  (11)

Structure  (5)

An empty TableView:

A regular array of data:

A ragged array of data:

Arrays with empty fields:

Empty rows and columns:

Types  (6)

Numbers:

Strings:

Mixed data:

Expressions:

Images and graphics:

Boxes:

Options  (20)

Alignment  (1)

Center content:

AllowedDimensions  (2)

Set the dimensions to be exactly 4 columns by 3 rows:

Automatic scrollbars appear if the allowed dimensions cannot be displayed all at once:

With unconstrained dimensions, the scroll position can be set arbitrarily high:

With constrained dimensions, the scroll position will not move past the constraints:

AppearanceElements  (2)

Show collapsed headers and collapsed columns:

The "Frame" element always displays as a thin gray frame:

To use a customized frame, omit the "Frame" element and use Framed:

Background  (7)

Draw the view with a pink background:

Pink and gray backgrounds for the columns at the first and second horizontal positions:

An equivalent syntax:

Pink and gray backgrounds for the rows at the first and second vertical positions:

Alternating pink and gray backgrounds:

Alternating backgrounds with yellow superimposed in the first and last positions:

Blending of colors:

Set the background for specific items:

Set the background for a subregion of the grid:

BaselinePosition  (2)

Align the center of the grid with the baseline of surrounding text:

Align the bottom of the grid with the baseline:

HeaderSize  (1)

Make the first column wider:

ImageSize  (1)

Display views at various sizes:

Scrollbars  (3)

By default, scrollbars do not appear if the TableView can display all of the data at once:

They do appear if the data would otherwise be clipped:

Always display scrollbars, even when the data fits within the view:

Suppress scrollbars even if the data would be clipped at the current ImageSize:

ScrollPosition  (1)

Specify the initial position of a view:

Properties & Relations  (1)

TableView takes many of the same options as Grid with similar specifications:

Unlike Grid, TableView has no right or bottom; specifications of the right or bottom do not do anything:

Neat Examples  (1)

Use Magnify to see an overview of a large number of cells:

See Also

Grid  TextGrid  InputField  TableForm  MatrixForm  Dataset

Related Guides

    ▪
  • Control Objects
  • ▪
  • Grids & Tables
  • ▪
  • Layout & Tables

History

Introduced in 2020 (12.1)

Wolfram Research (2020), TableView, Wolfram Language function, https://reference.wolfram.com/language/ref/TableView.html.

Text

Wolfram Research (2020), TableView, Wolfram Language function, https://reference.wolfram.com/language/ref/TableView.html.

CMS

Wolfram Language. 2020. "TableView." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TableView.html.

APA

Wolfram Language. (2020). TableView. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TableView.html

BibTeX

@misc{reference.wolfram_2025_tableview, author="Wolfram Research", title="{TableView}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/TableView.html}", note=[Accessed: 01-December-2025]}

BibLaTeX

@online{reference.wolfram_2025_tableview, organization={Wolfram Research}, title={TableView}, year={2020}, url={https://reference.wolfram.com/language/ref/TableView.html}, note=[Accessed: 01-December-2025]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Player
  • Wolfram Engine

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2025 Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English