I don’t understand how to indent how to ident records in a table like this Travel Approval Workflow template. I can’t see anywhere in that example where the records are set to be indented.
There should be an inline action in the ID column without an icon.
I’m really not sure what that means. I also don’t understand why a simple UI tweak like this is apparently complicated, and am getting frustrated with Appsheet in general.
It is NOT indented. It is a placeholder for an inline action.
The long answer…
If you look at the Request view definition in the Editor, you will see that the very first column listed is the Request ID column. But, that column is not displayed in the Table view.
The reason is because that column has an Inline action attached to it. When a column has an Inline action attached, the column header is blanked out and the action icon is displayed on the rows.
This particular action is named “Route to Director” (you can see it in the actions list) and it has criteria that controls when the action is actually made visible. It turns out that we, as viewers of this data already entered, do NOT meet the criteria for the action to be shown/enabled, so it just looks like a blank column to us.
If you play with the app and enter some of your own data, you will likely see the action icon displayed.
I appreciate the response and now understand how the example works. Ultimately I don’t really feel comfortable using this solution though - I first needed to make my data source editable (which I don’t want), then needed a column to edit, etc. - it feels too clunky to manage, and I ultimately couldn’t get it to work - it would display the original column rather than an indent.
I decided to go a different direction though and use formatting rules with icons instead. Very disappointed how difficult it is to just indent in a table.
Yea understood - I think indenting records in a table with a grouping function should be a native supported feature, probably in v1.0. There’s no technical hurdle, it’s just something Google hasn’t gotten around to. Whether it’s Looker, Appsheet, Vertex, etc., I always run into ‘why is this simple thing so complicated’ with Google products.
Keep in mind that AppSheet started as a “Mobile First” platform. On a mobile device screen real estate is precious. You typically would NOT want unnecessary unused white space of any kind in a mobile app.
They have moved away from the “Mobile First” design scheme with Desktop Mode. There it would make perfect sense to include indentation.
If your main concern is calling out where Group breaks occur, you can apply formatting to the Group label - including colorization, bolding and even a larger Font. See example below.