![Profile photo of Andreas Pfeiffer](https://www.omnis.net/community/wp-content/uploads/avatars/15/58453e9b65bfd-bpfull.png)
Andreas Pfeiffer
Forum Replies Created
-
Andreas Pfeiffer
AdministratorApril 10, 2024 at 10:17 am in reply to: How to rebuild columnpicklist.. although I would doubt if it makes sense to have the country list as a droplist inside the grid since a City rarely changes its country ..
-
Hi Robert,
Should be compatible yes. You may want to check out the install.txt: https://filestore.omnis.net/OmnisStudio/Studio1100_36251/Installers/Install.txt
The minimum requirements for developing applications in Omnis Studio 11 are as follows:
1.1 Windows ----------- Intel system, 2GB RAM, and 250 MB free hard disk space, Windows 10 or above, including Windows 11. Specifically, support for SVG requires the Windows 10 Creators Update (1703) or later.
-
Martin,
I think what you want to have is a picklist with different data on each line of your grid?
I don’t think this is what the datagrid is able to do. You should probably use a complex grid for this instead.
I made you a quick sample (attached) that shows how you can achieve this using a complex grid instead. Note that the pick_list is going to be a column within the main list. That allows individual content of the picklist depending on the type of the data in the main list.
As an additional feature I added a page pane object that is controlled due to a column in the main list “type”. Check out the $dataname of the page pane object. So depending on the value of the type column in the main list it will switch the page accordingly. I placed two different icons on either page. I was using the “car” icon to indicate it is a vehicle (car, truck or motorbike).
Hope this helps. Let me know if there are additional question.
Best,
Andreas
-
What version of Omnis Studio 11 are you using? Do you use the latest build? 36251?
Best,
Andreas
-
Hi Martin,
Can you double check if you use the same version of Omnis Studio JavaScript resources as you have on your web server?
Best,
Andreas
-
Hi Martin,
In the samples section there is a JS Data grid and a JS Data grid formatted. But none of them is using a droplist.
Can you please specify what library you refer?
Best,
Andreas
-
well and is the list data filled?
-
Andreas Pfeiffer
AdministratorApril 10, 2024 at 10:13 am in reply to: How to rebuild columnpicklistSo in fact I did understand in the first place. Please check out the library I sent you.
Best,
Andreas
-
Andreas Pfeiffer
AdministratorApril 10, 2024 at 10:04 am in reply to: How to rebuild columnpicklistOk – it shows a droplist outside of the datagrid. The datagrid remains empty.
What is your question/problem then?
You could simply load the city list when the user picks a continent in the drop list. That would then show the cities for that country, wouldn’t it?
-
This reply was modified 3 months, 1 week ago by
Andreas Pfeiffer.
-
This reply was modified 3 months, 1 week ago by
-
Martin,
Just get the new Community Edition.
Best,
Andreas
-
Mh – what is the purpose of changing the picklist?
-
could it be that a variable is missing for a $dataname property?
-
No – I can try to help.
Actually I do not think it does matter if your list is filled with data in the $construct or due to another event. So if you want the list to have a different content than simply make another load on the list.
Best,
Andreas
-
Andreas Pfeiffer
AdministratorApril 2, 2024 at 6:53 am in reply to: Reading Postgresql schemas and Omnis schemasGreat,
Thank you for your feedback. I am glad it helped.
Best,
Andreas
-
Andreas Pfeiffer
AdministratorApril 1, 2024 at 5:05 pm in reply to: Reading Postgresql schemas and Omnis schemasMartin,
it is probably easiest if you try the query build first to see how the correct syntax is and if it works from there.
Then when using schema classes it is probably best if you use double quotes to describe schema and server table name within the schema class. For example something like “mySchema”.”myServerTable”
These are double quotes not two single quotes.
Hope this helps.
Best,
Andreas