Currently, AppSheet does not allow us to use format rules to change the appearance of the headings in detail views. This has led me, @tsuji_koichi and others to ask for this ability:
[Capability to change size, color, etc of display name with format rule](https://community.appsheet.com/t/capability-to-change-size-color-etc-of-display-name-with-format-rule/16972) Feature Requests
The following discussion is from a year ago: I am reposting it as a “Feature Request” because I found myself wanting it again today. In the meantime, last year’s discussion contains a workaround.
[Option to resize the column name on Detail View](https://community.appsheet.com/t/option-to-resize-the-column-name-on-detail-view/18298) Feature Requests
When we have relatively long fields name, like a sentence, the font size for the field name on the details view are super tiny, almost unreadable for those like me, who need a glass to read tiny character. I want to change the font size for field name on details view optionally. [image]
Koji just posted his request and that prompted me to reread my old request on the same topic. In response to it @Jonathan_S had asked if there was a temporary work around and I answered the I didn’t know of one. Then it occurred to me that I did. So, here it is.
First, the default:
This is fine if you have good eyesight and your happy with small headings and larger text for the information in the record, but some of us would like more choice. Here’s what I came up with today:
There are more possibilities than this but these are three examples. How did I do it? I’ve made the sample app (Heading practice) available on my profile page:
https://www.appsheet.com/portfolio/230844
And here are the steps:
-
Eliminate the heading by placing a space in the “Display name” spot
-
Refer to @Gerald_Kariuki’s “Text font trick” to hard-encode a different appearance to your heading text:
Text font trick
-
Put a line change into your Google sheet that you can use as your “return”
-
Put it all together in a concatenate() expression:
concatenate(“??? ???”,[Line change],[Second heading])
So, it can be done but I hope AppSheet will make it easier for us.
9 Likes
Hi @Kirk_Masden,
Thank you for your recap.
Unfortunately, this is not going to work as solution for me. For instance, when you change the display name to blank, i.e. " ", then we will lose the column name from other view, especially the field name in table view is also left blank.
I just simply want to have optional setting for detail view only to set the size of field name, large, small etc.
2 Likes
Sure. I understand that it’s a problematic solution. In your case, if you really wanted to do this, I think that it would be possible if you made extra virtual columns just for the purpose – but that would be a lot of extra work. It will be much better if AppSheet can provide a permanent fix.
2 Likes
I thought VC option, but actually it does not work, hence I ended up with feature request. Hope this is taken.
1 Like
Unbelievable, just anything is possible.
Im going to use this for one of my apps,
but Appsheet take this and make it easily integratable and changeable please :). @praveen
1 Like
By the way, for anyone who might be reading this who is interested in controlling the appearance of text in headings and elsewhere in your app, you might be interested in a tip I wrote about how to bring directional quotation marks into AppSheet:
[Directional quotes anywhere you want them](https://community.appsheet.com/t/directional-quotes-anywhere-you-want-them/11227) Tips & Tricks ?
In formulas (expressions), AppSheet doesn’t distinguish between directional quotes (left and right different) and straight quotes. So, until now, I haven’t been able to use directional quotation marks in column names and in concatenate() expressions. Today, however, I hit upon a work around. First, I noticed that AppSheet had no trouble with the directional quotation marks that I put in cells of my Google spreadsheet: [28] So, I decided to add a column with the left and right quotations mar…
1 Like
I do this using SWITCH() and CONTEXT() in the Display Name expression. Then I can show different labels based on View Type (table, detail, etc) or on specific Views (name of the view where you don’t want to show the column name). SWITCH works well because you can list lots of different scenarios.
SWITCH(
CONTEXT(“ViewType”),
“table”,“tables are dope”,
“detail”," ",
“boring ol’ column name”
)
2 Likes
Hi Kirk,
I didn´t understand the step 3 “Put a line change as your return” and the step 4: where do you put the concatenate?
Thanks!
Hi! I’m not sure if my way is the best method but I think that, on my Mac, I held down the command key while hitting the return key to insert a line change inside that cell of the Google spreadsheet. Then, I could access that inside of AppSheet.
I think the CONCATENATE() expression was in the main part of the virtual column, not the display name part. The display name is turned off with " ".
It’s been a while so my memory is fuzzy but I hope what I’ve written is correct.
3 Likes
Thank you very much Kirk!
2 Likes
I can’t seem to find “Heading Practice” in your portfolio. Does this still work?