I have created a dynamic table in Google App Maker to display class attendance information. Each row contains information for one student and there are multiple rows for the entire class. I would like to use a radio group so the teacher can select a one of several attendance options (i.e., Present, Tardy, Excused, Unexcused). However, the radio group buttons are displayed vertically within each row and take up a lot of space. Is there any way in Google App Maker to change the orientation of the radio group to display horizontally?
I have checked the Google App Maker Widget API which describes properties for the radio group and there is some discussion about in-flow widgets and how they behave with different layout widgets. I am using a vertical panel for the table. However, the radio group behaves the same for horizontal and fixed panels. Other app programs (like for Android) include properties for orientation, however, I see no such property in Google App Maker.
I prefer to use a radio group since the options are mutually exclusive. If I can't change the radio group orientation, I could use individual check boxes but I would need to add the code so the options are automatically treated as mutually exclusive.
Thanks for any help!
Thank you, Markus! I'm including a picture and repeating your answer to highlight it for others.
Towards the top next to your 'Widgets' menu, there is a dropdown menu to select style variants. Horizontal is listed as an option under this category for a radio group. For other objects, this menu usually lists the background color or text style.
Related
I am using a pagination material UI component in my application to display list of numbers from where user can actually choose the number and proceed it for further processing.
I have got one more requirement here to show the horizontal scrollbar with this component so that the user need not to click on right arrow every time he/she wants to select the number.
The user should be able to use a horizontal scrollbar to scroll through the list of numbers.
Is it possible using this component or any other component in react?
Thanks,
Jyoti
I am using bokeh single radio button with single title . Initially it is inactive and when i click on radio button it changed to active but if I click again in active it is not changing to inactive state.
How i need to acheive this functionality??
Whether it's RadioGroup or RadioButtonGroup, neither of those two widgets is meant for a single element usage. Per design they are meant to be used as a group of elements. I advice you to use Toggle for your application. Other alternatives are CheckboxButtonGroup and CheckboxGroup. See Bokeh documentation for specific examples.
Below is my theme layout :
What I would like to do is to use the panels module to add
a 4 column block at the region labeled 'content'. I have
already tried adding a node to the content region and creating
a variant using the panels module for the particular node.
But this didn't work. I tried switching the selection rules
from "Node:Type" to "Front-page" but still no luck with this.
Suggestions appreciated!!
I think you are misunderstanding the use of the panels module. Panels makes panel pages, in which you place panes in whatever arrangement you want. The panel needs a url to control, and that url can have variables in it like Node ID.
So, here is a walk through of how to use the panels in the way I think you want from the selection rules you mention:
The panel should have a path assigned, like "welcome" or "welcome/%nid"
If you have used the %nid path, set up the context to use that argument for the node id.
You only need a selection rule if you have more than one variant, as that is how the panel selects which one to use. Example, selection rule on variantA says use it when %nid validates to a node of node:typeA. Selection rule on variantB ... etc.
In the content section of you panel control, upper left point, is a button or link that says "show layout designer", click that. http://expressmagazine.net/sites/default/files/imagesArticle/panels_drupal_8.png
That will let you change how many rows and columns and regions you have on the panel. If I recall correctly a row can hold columns or regions, a column can hold rows, and content in the same region gets stacked vertically.
Since panels layouts are inside the "content" of a page, the 3-segment header and 4-segment footer of your theme will stay. You will probably want two rows, one of which with the 4 regions to make the columns in your question, and one of which with a single region to hold the full-width content. If you have the %nid setup, you can use pieces of the node (specific fields) in the regions.
Then in your site information page set "welcome" as your homepage.
Can anyone tell me how I might add buttons, or other components, to a title/tool bar without using the items array? For months I've been struggling to find a way to make the bar on all my views contain the same user buttons and icons.
It's a struggle mostly on List item detail views where only a back button shows. I want the back button but also own buttons on the same bar. This is so my app has a uniform look and accessible functionality across the entire build.
Toolbar and TitleBar extend Ext.Container.
In Sencha Touch containers always store their components inside the items array.
If you want to have a toolbar that always look the same just create your own by extending Ext.Toolbar. Use the initialize method of such extended Toolbar to add the buttons/icons.
To use it with a list you can create a wrapping container, which contains the extended toolbar and the list.
I'm trying to implement accessibility (keyboard only) ability on my site, but I'm having problems with Radio Button lists. When using radiobuttonlists, when initially, none of the radio buttons is selected, I am able to tab through every single value and select one upon hitting "enter". However, after a value is selected, I can only tab to the selected values, which presents a problem if I want to change the selected value.
From what I understand, radio buttons are grouped at the container controller level, thus when it is considered a group, only one can be selected at a time.
Any ideas on how to fix this issue?
Actually, this is not an issue at all. If a value is not selected, the browser will go through each value within the group. Once a value is selected, the browser will only jump to the chosen value within that group. Thus to change values within the group, the user is to use the keyboard arrows.
I believe you're correct about the RadioButtonList being one control (and therefore tabbing doesn't work). An alternative could be to create individual radio buttons and use the GroupName property to assign them all into one group. This should let you tab between them and still ensure they work in sync with each other.