LogoLogo
FeaturesHelp & ResourcesShowcasePricingLogin
Learn Section
Learn Section
  • Introduction
  • Getting Started
    • Finding your way around
    • Core concepts
      • Data Binding
      • Data Insertion
      • Dynamic Visibility
    • Creating and managing projects
      • Creating a Project
      • Saving a Project
      • Opening a Project
      • Version History
    • Templates
  • Components
    • Overview
    • Layout & Positioning
    • Charts
      • Line Chart
      • Column Chart
      • Bar Chart
      • Pie Chart
      • Combination Chart
      • Area Chart
      • Spline Chart
      • Step Chart
    • DataViz
      • Gauge
      • Word Cloud
      • Chord Diagram
      • Sankey Diagram
      • Schedule (Gantt)
      • Metric Tile
      • Progress Bar
      • Trend Icon
      • Mapbox
      • Loading Animation
    • Tables
      • Scorecard
      • Data Table
    • Controls
      • Push Button
      • Dropdown
      • Multi Select Dropdown
      • Listbox
      • Label Based Menu
      • Checkbox
      • Radio Button
      • Slider
      • Value Input
      • Print Button
      • URL Button
      • Screenshot
      • Hotspot
      • Date Picker
      • Toggle Switch
      • Scenario
    • Text
      • Text Label
      • Text Input
      • Text Area
    • Shapes
      • Rectangle
      • Ellipse
      • Line
    • Media
      • Image
      • Icon
    • Containers
      • Container
      • Web View
      • Repeat Container
      • Row Layout
      • Column Layout
  • Functions
    • Overview
    • Data Mover
    • External Parameters
    • Export to Excel
    • Export to PDF
    • Timer
    • Tableau Parameters
    • Browser Info
    • TextJoin
    • Unique List
  • Connections
    • Overview
    • Excel One Drive
      • Excel One Drive Read
      • Excel One Drive Writeback
    • Google Sheets
      • Google Sheets Read
      • Google Sheets Writeback
    • Ninox Connections
    • Smartsheets
    • CSV Connector
    • SAP Webi Connector
    • XDC Connections
    • Database Connections
    • Zapier Trigger
  • Spreadsheet
    • Overview
    • Spreadsheet functionality
    • Supported Spreadsheet Functions
    • Spreadsheet performance
  • Best practices for the Squirrel spreadsheet
  • Publishing & Sharing
    • Overview
    • Project Settings
    • Publishing to Squirrel Cloud
    • Publishing Locally
    • Using the Project Manager
    • Adding projects to PowerPoint
    • Adding projects to Tableau
    • Progressive Web Apps (PWA)
  • SETTINGS
    • Image Library
    • Custom Fonts
  • Account Management
    • Manage your account Profile
    • Understanding your Squirrel plan usage
    • Changing your Plan
    • Billing
    • How do I delete my account?
  • Frequent Questions
    • What data do you keep and for how long?
  • How-Tos
    • Overview
    • Add-ons
      • Add-on Documentation
      • Window Size – Add responsive behavior to your components
      • Window Size - Getting responsive behavior in the canvas
    • Adding your own Google Fonts
    • Chart title and Checkbox label text case formatting
    • Deleting functions and connections
    • Find & Replace Fonts
    • Getting a Mapbox API access token
    • Renaming a component, function or connection
    • Seeing Data from a Connector at Design time
    • Troubleshooting Projects in the Console
    • Using colors and color values
  • Tutorials
    • Create a temperature conversion app
    • Create a revenue growth app from an existing spreadsheet
    • Whack-A-Squirrel Game
    • Filtered Rows Insertion: Building a Filtered Selection
Powered by GitBook
LogoLogo

Explore

  • Home
  • Features
  • Pricing
  • Download Squirrel

Help

  • Learn
  • Community
  • Support
  • FAQ's

Updates

  • Blog
  • Events
  • Release Notes

Company

  • Contact Us
  • Privacy Policy
  • Terms of Use

Copyright © 2019 - 2024 InfoSol Ltd. All rights reserved.

On this page
  • Adding objects to a container
  • Selecting a container or objects inside a container
  • Resizing a Container
  • Repositioning a Container
  • Positioning items inside the container
  • Removing objects from a Container
  • Deleting a Container and/or objects from a Container

Was this helpful?

  1. Components
  2. Containers

Container

This article describes the Container component, its purpose and properties.

PreviousContainersNextWeb View

Last updated 7 months ago

Was this helpful?

The purpose of the Container is to group several objects into one object. This may seem to have a similar purpose to the group option (select multiple objects, and then either CTRL+G or ARRANGE > Group), but the Container component is more versatile and can act as a 'mini-canvas'.

This guide will not describe the dynamic visibility properties of the container as these are generic to each component, a separate guide and tutorial on dynamic visibility can be found .

Select Container from the Containers category of the component library. Move the mouse cursor over the canvas to add a web view component to your project:

A container is represented on the canvas by a dashed rectangle:


Adding objects to a container

Within the Object Browser

Click on the object that you want to add to the Container and drag the mouse cursor until it is positioned over the container object, when a blue bounding box appears around the container object, release the mouse button and the object will be added to the container object:

When dragging an object into a Container that already contains other objects, the blue bounding box will appear around the container object, but a black line also appears below or above the objects already in the container. This indicates where the object will be placed in the layer stack of the container object:

On the Canvas

To add an object to a Container on the canvas, select the object with the mouse, hold down the CTRL button (CTRL+⌘ Mac), and move the object until it is positioned over the container, the container outline will change to a solid blue border, release the mouse button and CTRL button:


Selecting a container or objects inside a container

Within the Object Browser

Simply click on the Container or its contents to select either.

On the Canvas

Single-click the Container to select it:

Double-click anywhere on the Container; the handles of the selection disappear from the container and a name tab appears at the top. Now single-click any of the objects inside of the container to select.

Double-click outside of the Container (or on an empty area of the container) to deselect items inside of the container or the container itself.


Resizing a Container

Set a container’s position, either in the properties panel or select it on the canvas, and adjust its size by grabbing and moving the selection handles.

The container’s size can also be set by binding it to position values contained in the spreadsheet.

If the size of the container is reduced, objects within that container will not change position or size. They may therefore be hidden from view, or partially hidden:


Repositioning a Container

Set a container’s position either in the properties panel or by selecting the container and dragging it with the mouse. It can also be repositioned by binding to position values contained in the spreadsheet.

Objects inside the container will move with the container.


Positioning items inside the container

In the Object Browser

When adding an object to a container by dragging and dropping it inside the object browser, the object will be placed into the container at the same position as it was on the canvas i.e. if it was at X position: 10, Y position: 10, it will be container X position 10 and container Y position 10.

If an object is dropped into a Container but is not visible, likely, its position is outside of the bounds of the container. Change the position of the object using the property panel so that it is positioned inside of the container, or increase the size of the container until it is large enough to show the object.

On the Canvas

When dragging objects into the container on the canvas, the objects will be placed at the position where the mouse button is released.


Removing objects from a Container

Within the Object Browser

Click and drag the object, either up above the Container, or below the last item in the container until the black line indicates that the object is outside of the container.

On the Canvas

Double-click on any part of the Container. A name label will show above the container and its border will become a solid blue line. Click the object inside the container and hold down the CTRL button (CTRL+⌘ Mac) while dragging the object outside of the container bounds. Release the CTRL button (CTRL+⌘ Mac) and mouse buttons.


Deleting a Container and/or objects from a Container

Within the Object Browser

Click to select either the container or the object and press the delete key.

On the Canvas

To delete a Container, single click to select the container. Press delete.

Deleting a Container will delete all of its contents

To delete an object inside a Container, first double-click the container then single-click the object. Press delete.

here