Skip to content
Studio 3T - The professional GUI, IDE and client for MongoDB
  • Tools
    • Aggregation Editor
    • IntelliShell
    • Visual Query Builder
    • Export Wizard
    • Import Wizard
    • Query Code
    • SQL Query
    • Connect
    • Schema Explorer
    • Compare
    • SQL ⇔ MongoDB Migration
    • Data Masking
    • Task Scheduler
    • Reschema
    • More Tools and Features
  • Solutions
  • Resources
    • Knowledge Base
    • MongoDB Tutorials & Courses
    • Tool/Feature Documentation
    • Blog
    • Community
    • Testimonials
    • Whitepapers
    • Reports
  • Contact us
    • Contact
    • Sales Support
    • Feedback and Support
    • Careers
    • About Us
  • Store
    • Buy Now
    • Preferred Resellers
    • Team Pricing
  • Download
  • My 3T
search

Studio 3T Knowledge Base

  • Documentation
  • Tutorials
  • Workshops
Take the fastest route to learning MongoDB. Cover the basics in two hours with MongoDB 101, no registration required.
Start the free course

Table View

Posted on: 02/05/2018 (last updated: 21/06/2021) by Kathryn Vargas
tl;dr
Shortcuts

Table View is the spreadsheet view in Studio 3T that supports advanced features like showing embedded fields, stepping into array-valued columns, and hiding columns – even when dealing with massive datasets. Try it today.

Show/hide embedded fields – Ctrl + Enter (⌘ + Enter)
Hide/show columns – Ctrl + T (⌘ + T)
Step into cell – Shift + Enter OR Shift + Double-Click
Step into column – Enter

Basics

Table View is one of three ways to view MongoDB data in Studio 3T, which displays query results in structured rows and columns similar to a spreadsheet. This allows the most novice of users to navigate MongoDB data. 

It is always accessible in the top-right drop-down menu of the Result Tab.

Download the Customers collection to follow along the examples covered in the tutorial.

Edit data in-place

To edit data in-place, double-click on any cell, edit the value, and press Enter.

Double click to edit date in place.

Sort data in ascending or descending order

To sort data, simply click on the field headers.

Click field headers to sort data in ascending or descending order.

Show and hide embedded fields

Some fields contain embedded fields. In the Customers collection, address is an example of a field that has four embedded fields: street, city, state, and zip_code.

Here is a screenshot of the address field, viewed through Tree View:

The Address fields in Tree View

Table View allows these embedded fields to be expanded alongside other columns for easier data analysis.

Embedd fields are highlighted here in Table View.

To show or hide a field’s embedded fields:

  • Right-click – Right-click on the field with embedded field(s) and choose Show Embedded Fields or Hide Embedded Fields
  • Hotkey – Press Ctrl + Enter (^ + Enter)

Show or hide all embedded fields

To show (or hide) all embedded fields within a MongoDB collection, right-click on any field and choose Show All Embedded Fields or Hide All Embedded Fields.

Copy MongoDB documents as CSV

While on any Result Tab (Visual Query Builder, IntelliShell, SQL Query, Aggregation Editor), choose the documents you want to export, right-click, and select Copy > Copy Selected Documents as CSV – with or without headers. 

Copy MongoDB documents to Excel

Right-click on the query results you want to copy to Excel and select Copy > Copy Selected Documents for Excel – with or without headers. 

Choose CSV or Excel, with or without the headers

Related reading: Copy MongoDB Query Results to CSV, Excel & Google Sheets

Track expanded fields

A field will show a dot before its name to indicate that its embedded fields have been expanded.

To make navigation easier, a breadcrumb trail and the complete JSON path are always displayed to reflect that field’s context within the overall data set.

Hide and show columns

Along with showing embedded fields, the ability to hide columns is also equally handy to reduce data clutter.

Building off of the example above, the address field can be hidden to clean up the view.

Hide columns to make viewing results easier

To hide (and show) columns:

  • Right-click – Right-click on a field within a column and choose Column > Hide Column (or Show Column)
  • Hotkey – Press Ctrl + T (⌘ + T)

Step into array-valued columns

Table View allows stepping into a whole column of arrays at the same time, which means array elements will be displayed with increasing index on a single line, each line representing another array.

Auto-size column widths

Click on the Settings icon in the top-right corner of the Results tab and to turn on one of two options:

Set column widths automatically
  • Auto-size columns (compact) – Fits column sizes to screen
  • Auto-size columns (full values) – Extends column sizes to show entirety of data in the column

You can also turn off auto-sizing altogether by choosing Do not auto-size columns.

Restore default view

To restore the default view (the view seen upon first opening a collection), right-click on any field and choose Restore Default View.

Assign colors to field types

With Studio 3T 2018.5, you can assign colors to field types, so you can see query results colored according to their type:

Type coloring by field now available in Studio 3T's Tree and Table Views
  1. Go to Studio 3T > Preferences.
  2. Click on the Type Colors tab.
  3. Configure the fields and colors as desired.

How helpful was this article?
This article was hideous
This article was bad
This article was ok
This article was good
This article was great
Thank you for your feedback!

About The Author

Kathryn Vargas

When she's not writing about working with MongoDB, Kathryn spends her free time exploring Berlin's food scene, playing the drums, learning languages (current mission: German), and hiking.

Article navigation

Related articles

  • What’s New in Studio 3T 2020.7 | Export Documents from Table View to CSV, Edit find() Queries During Export & More
  • JSON View
  • How to Create a MongoDB View
  • What is NoSQL (in 2022)? – A Studio View
  • Lesson 7, Exercise 1: Creating a MongoDB view

Studio 3T

MongoDB Enterprise Certified Technology PartnerSince 2014, 3T has been helping thousands of MongoDB developers and administrators with their everyday jobs by providing the finest MongoDB tools on the market. We guarantee the best compatibility with current and legacy releases of MongoDB, continue to deliver new features with every new software release, and provide high quality support.

Find us on FacebookFind us on TwitterFind us on YouTubeFind us on LinkedIn

Education

  • Free MongoDB Tutorials
  • Connect to MongoDB
  • Connect to MongoDB Atlas
  • Import Data to MongoDB
  • Export MongoDB Data
  • Build Aggregation Queries
  • Query MongoDB with SQL
  • Migrate from SQL to MongoDB

Resources

  • Feedback and Support
  • Sales Support
  • Knowledge Base
  • FAQ
  • Reports
  • White Papers
  • Testimonials
  • Discounts

Company

  • About Us
  • Blog
  • Careers
  • Legal
  • Press
  • Privacy Policy
  • EULA

© 2023 3T Software Labs Ltd. All rights reserved.

  • Privacy Policy
  • Cookie settings
  • Impressum

We value your privacy

With your consent, we and third-party providers use cookies and similar technologies on our website to analyse your use of our site for market research or advertising purposes ("analytics and marketing") and to provide you with additional functions (“functional”). This may result in the creation of pseudonymous usage profiles and the transfer of personal data to third countries, including the USA, which may have no adequate level of protection for the processing of personal data.

By clicking “Accept all”, you consent to the storage of cookies and the processing of personal data for these purposes, including any transfers to third countries. By clicking on “Decline all”, you do not give your consent and we will only store cookies that are necessary for our website. You can customize the cookies we store on your device or change your selection at any time - thus also revoking your consent with effect for the future - under “Manage Cookies”, or “Cookie Settings” at the bottom of the page. You can find further information in our Privacy Policy.
Accept all
Decline all
Manage cookies
✕

Privacy Preference Center

With your consent, we and third-party providers use cookies and similar technologies on our website to analyse your use of our site for market research or advertising purposes ("analytics and marketing") and to provide you with additional functions (“functional”). This may result in the creation of pseudonymous usage profiles and the transfer of personal data to third countries, including the USA, which may have no adequate level of protection for the processing of personal data. Please choose for which purposes you wish to give us your consent and store your preferences by clicking on “Accept selected”. You can find further information in our Privacy Policy.

Accept all cookies

Manage consent preferences

Essential cookies are strictly necessary to provide an online service such as our website or a service on our website which you have requested. The website or service will not work without them.

Performance cookies allow us to collect information such as number of visits and sources of traffic. This information is used in aggregate form to help us understand how our websites are being used, allowing us to improve both our website’s performance and your experience.

Google Analytics

Google Ads

Bing Ads

Facebook

LinkedIn

Quora

Hotjar

Functional cookies collect information about your preferences and choices and make using the website a lot easier and more relevant. Without these cookies, some of the site functionality may not work as intended.

HubSpot

Social media cookies are cookies used to share user behaviour information with a third-party social media platform. They may consequently effect how social media sites present you with information in the future.

Accept selected