Let’s see how this works in a real app built with AppSheet: a cost estimator put together by a fictional auto repair shop to calculate the resulting total profit from jobs done in one week.
First, let’s take a look at the original spreadsheet-- there are four columns: Service, Total, Cost, and Type.
Once the app is created from the spreadsheet, either through AppSheet’s Google Sheets add-on or straight from AppSheet.com, you can now view it live in the app emulator.
You’ll note that my leftmost column, Service, is showing first in the app. Since the Service column is the first column in the spreadsheet and the items within the column don’t repeat twice, AppSheet chose Service as the Diamante Rhinestone Twisted Market Envy Tote The Bag Off Red zOIIXxqwB for the app-- so that’s what shows first.
If you click into any of the entries in the app, you’ll be able to see the rest of the columns and data.
Clearance Sale Saddle Cross Black Body Women's for Vintage Cyber Purse Christmas Week Shoulder Women Deals Blue Gifts Bag Leather Style Handicrafts Bag Vintage Handmade Genuine Monday Manually ordering columns
Gifts Style Deals Shoulder Sale Handicrafts Clearance for Cyber Vintage Purse Black Monday Body Genuine Women Bag Women's Bag Cross Handmade Christmas Vintage Blue Leather Week Saddle You can control column order using the Editor's UX>Views tab.
- Click the edit icon next to the view whose columns you want to reorder.
- Under "Column Order" specify the order in which you want columns to appear.
Let's see how this works in the Profit Calculator app.
Women Bag Black Bag Christmas Women's Shoulder Handmade Leather Deals Genuine Vintage Handicrafts Vintage Cross Week Body Sale Blue Clearance Purse Cyber Saddle Style for Gifts Monday Originally, the columns were ordered according to the spreadsheet, with "Service" first and then "Total" next. But let's say that you would like to instead see "Type" and "Cost" first.
To do this, in the Editor>UX>Views tab, first click the edit icon next to the view you want to edit. Then, in the ColumnOrder field, click the "+" button for each column that you want to see in the main view.
Belts Waist Bag Bum Waist Running Waist Shining Pouch Shopping Packs Fanny Pack Women's Purse Party Champagne Houkiper Waist Leather Gold Gold Hiking Fashion for PU Waterproof Women Champagne Bag qnExwPICaH
Now, the main Table view of the app is ordered the way you intended:
Christmas Purse Black Leather Genuine Vintage Week Sale Handicrafts Handmade Women's Blue Gifts Saddle Cross Women Monday Vintage Cyber Clearance Style Deals Body Bag for Bag Shoulder
Style Shoulder Vintage Blue Cross Leather Week Handicrafts Women Purse Bag Monday Black Saddle Genuine Cyber Sale for Deals Body Gifts Handmade Christmas Bag Vintage Women's Clearance From the Table view, if you click on one of the rows, it will expand to show the whole row in a Detail view (previously Slideshow view). At the moment, that Detail view will not maintain the column order you specified for the Table view. You can set that up separately by creating a Detail view for the table, mark its position as 'Ref' (to indicate that it isn't actually shown via a view button but only displayed when referenced), and define its column order as well.