Summer is in full swing in most parts of the world and we’re getting our bikini body ready, so to speak.  Last week we brought you our new Sketch feature and this week, we’re dusted off our ol’ html-based tables and gave tables in draw.io an amazing makeover.

The tables are still tables, just better

So what actually got overhauled? You might recall that previously, in order to create a table in draw.io you had to choose one via our template library.  These were HTML-based and to be honest, weren’t all that intuitive or flexible.  That’s all changed to give you tables that you can customize to your needs.  Be sure to click on the videos and maximize to see everything in action!

Insert a table into your diagram

  1. Make sure that your other shapes (if relevant) aren’t selected.
  2. In the toolbar, select the table icon which will display a box that allows you to select the number of rows and columns you need.
  3. Click Arrange in the format panel to the right of the workspace.  You should see the section named Table.
  4. Use the icons to add or delete rows and columns as you need to.

Tables with a Header row

At some point, you’ll probably need a table with a header or title row.  Easy!

  1. In the toolbar, click on the table icon and choose how many rows/columns you need.
  2. Before you click, hold the shift key.
  3. Double click in the header row to add/change the title of your table.

You can now use the Text tab in the format panel to change your font, alignment, and more.

Cross-functional tables

Do you need to work with categories and steps? We’ve got you covered with cross-functional tables.

  1. Select the table icon in the toolbar.
  2. Choose the number of rows and columns you need.
  3. Hold down the ctrl key and click to insert your table onto your workspace.

A. Add table a title as well as adding category and group names to the swimlanes of the table:

  1. Double click in the header row to give your table a title.
  2. Double click the title cell to name your columns and rows titles.

B. Adding shapes to your table:

  1. In the shape library, choose a shape that’d you’d like to add to one of the cells.
  2. Drag it over and release.
    Tip: if you need to resize it, hold down the ctrl key to auto-center the shape while you’re resizing.

C. Drop-in additional shapes with connectors:

  1. Select the new shape and drag it over to the one that’s already there.
  2. Hold the new shape over the old one until the bright blue connector arrow appears.
  3. Release, and you should now have the shape with a connector.
  4. Drag and release the shape to place it correctly into the cell.

A. Resize rows and columns

  1. Like in a word processing program, you can just drag the lines of your table to resize the rows or columns.
  2. Click to select the whole table.  You’ll see the blue dots around the table outline.  Click and drag to resize.
  3. To resize a header row or column, click on the orange diamond and drag it to the height or width you need.

B. Resize the last row or last column

  1. Click your table to select it and then go to the format panel to select the Style tab.
  2. Go down to Property and click to expand.
  3. Select either Resize Last Column or Resize Last Row.

Now when you click and drag one of the blue dots, it won’t resize your whole table, just the last column or row.

C.  Removing the lines within your table

  1. Select your table.
  2. In the Format Panel, select Property.
  3. Uncheck either Row Lines or Column Lines to remove them.

D. Moving rows within the table

  1. Click your table and you should see the reorder icon at the end of your row ( it looks like an equal sign).
  2. Click the icon and drag the row to its new location within the table.

Go forth and create tables!

Being able to create tables within your diagrams is so helpful.  Having this built-in means that you can avoid using different programs or apps.  You and your teams can collaborate and share, all the while staying within draw.io. Why not take a look at the kinds of flow charts you can create in draw.io so that you can combine them with our cross-functional tables?

We hope that you enjoy using tables for your diagramming needs. We’d love to see how you use them so be sure to let us know.  Until next time, happy diagramming!