I have a grid which I use at 2 places:
A page which shows all values - A separate store is used for this, which has an xyz directfn
As a part of another page, where an identifier is passed to the grid - This again uses a separate store and an abc directfn
I'm trying to use the same store since the functionalities are almost the same. I want to change the configuration dynamically in such a way, that when the 1st scenario is in picture, the store should use the xyz directfn and for the 2nd scenario it should use the abc directfn with a parameter.
How to achieve this?
Related
I have an array which has too many fields to display inside a table. So, I was wondering, is it possible to have a pre-defined Form that can be generated dynamically for display? For example, if my array has 10 elements, 10 forms will be displayed to the user one under the next.
If this is possible what is the best way to achieve it? Eg. do we need to use a Component Container or Fragment? Thanks for your guidance.
D.
you could use something like XML Templates or build the depending UI part inside the controller.
How to show different forms on odoo 12 based on state value. I want a switch between the states to alter the form as well while keeping the same tree view of course
you can't have two different form view based on the state from a single tree view. But you can control fields/groups/pages or other elements visibility based on state using the invisible attribute.
One could create a single form create different groups in the form or even further add different notebooks and pages whose visibility can be controlled using attributes and passing in a state change in a domain.
Today is my first day learning Tableau so forgive me if this is easy. I created a map of the United States using one data set and now I want to create another map in another sheet of the world using a completely different data set. None of the columns are the same. Every time I try to do something with it, I get the pop up that I need to create a relationship with the first data set. There is no relationship so I don't know what to do. This data set has nothing in common with the other. All I want is to create this map as another sheet and then add them to the same story
I am using Rundeck for basic API calls periodically or manually. As of now, I have a lot of options the user has to provide, but most of them remains empty.
In fact, some of them depends on a previous one (e.g do you want X ? Then provide Y). Is there a way to display some options only if another has a given value ?
I would like not to create two different jobs but to keep only one.
One possible way is with Cascading Remote Options
This provides a mechanism for declaring hierarchical or dependent sets of option values.
I have created a form in which students have to tell if they've formed a group of 4, 5 or 6 members and correspondingly fill out the email id's of all members in the group.
Right now, all the responses land in a single document, like this
I want that depending on the group size, 3 different spreadsheets be created. To say, All group of 4 responses in 1 spreadsheet, all group of 5 in one spreadsheet and all group of 6 responses in one spreadsheet. So 3 spreadsheets for the 3 group options.
I was going through the web and I see its possible via App scripts but I couldnt figure out how. Any leads on this?
no need to use script for this which is not trivial to do and handle all possible errors.
instead simply use a combination of importRange and filter/query to the other spreadsheets from the master responses.
by using spreadsheet formulas your spreadsheets will always update correctly and instantly.
The easiest way would be to use an installable trigger on the form which is called on form submission. Rather than using the default functionality of adding all responses to a "Form Responses" sheet, your script would then take the raw form data and add it to the appropriate sheet based on the group size.