Class FlexTable


Deprecated. The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead.

A flexible table that creates cells on demand. It can be jagged (that is, each row can contain a different number of cells) and individual cells can be set to span multiple rows or columns.

Here is an example of how to use this widget:


 function doGet() {
   var app = UiApp.createApplication();
     .insertCell(0, 0)
     .insertCell(0, 1)
     .insertCell(0, 2)
     .insertCell(1, 0)
     .insertCell(1, 1)
     .insertCell(2, 0)
   return app;

Internally, UiApp widgets are built on top of the Google Web Toolkit, and it can sometimes be helpful to look at the GWT documentation directly. You can find the FlexTable documentation here.

Deprecated methods

Send feedback about...

Apps Script