Hello Community,
I am trying to have an action column.
Sample
Actual
I followed the steps I read here.
I have a column named Action
I have 3 actions which are set as inline
My current problem is column name is not appearing. Is this a normal behavior?
Another question Is it also possible to display a button but it is disabled or grayed out if the action is not for the user who is logged in. Right now, I am using the show-if thatโs why the other buttons are hidden.
Regards,
Solved! Go to Solution.
Oh!!
Well, thatโs by design!
The column name doesnโt show if actions are attached to it. Itโs for space saving I believe.
Sorry for the confusion here!
By the way, Iโd possibly place the actions on the left of the row. Thereโs some serious messing about with the width of tables at the moment on detail views where appsheet will not allow the use of any width bigger than an iPad in portrait mode. Consequently it placed a horizontal scrollbar and in my experience actions get hidden by the width problems.
Check to see whether that column is shown first. There is a tick box for that in the editor.
Also then check whether that column is available to you if youโve used a slice for your table. You may be using Custom fields rather than all in your slice definition and have not included your ACTION field.
Brilliant! Ok, so the next thing to do is check if your individual actions are being shown.
For each action, check the behaviour section and see if you have any formulas set that would show or hide the action based on values in that row.
Each action will show based on the role of the user logged in.
All 3 actions are showing properly.
Level 1 = Endorser
The problem is the โActionโ column name is not showing.
It is confusing for new users what is that right-most part for if there is no column name to tell them that it is the โActionโ.
Oh!!
Well, thatโs by design!
The column name doesnโt show if actions are attached to it. Itโs for space saving I believe.
Sorry for the confusion here!
By the way, Iโd possibly place the actions on the left of the row. Thereโs some serious messing about with the width of tables at the moment on detail views where appsheet will not allow the use of any width bigger than an iPad in portrait mode. Consequently it placed a horizontal scrollbar and in my experience actions get hidden by the width problems.
Thanks for the confirmation @Scott_Robinson and @Steve.
Since it is the design, I just changed the way I display the action to display prominently. Anyway the action button is hidden as long the needed condition is not met.
I believe so, yes. Typically, a column has only one inline action attached to it. In that case, the column name would likely be much wider than the action button, so would result in a lot of wasted space. There is no way to force the display of the header.
Itโs been awhile since I tinkered with the idea. As I recall, you have to apply a format rule to the action. Youโll also want the action to actually do nothing when itโs โdisabledโ, which requires specific action configuration.
See also:
Thanks for the info. I will look into the formatting if ever I need to try the grayed out action button.
User | Count |
---|---|
41 | |
36 | |
30 | |
23 | |
16 |