I made a custom drop down list by using focus group and repeating group to filter the repeating group, and it works well, but when I delete all of the items in the repeating group, the drop down list also goes empty? It must remain constant and unchanged. how can i solve this issue?
What is the data source of your dropdown?
the source of the repeating group in the drop down list is the same source for the master repeating group and it is Transactions.
Well then that’s why it goes empty…
and when you say ‘when you delete items from the repeating group’, are you deleting them from the database, or removing the just from the RG in some other way? (if so, how?)
Yes I mean removing from the database.
Well then of course it won’t display in the dropdown… (it no longer exists)
So I found some web app built custom drop down to filtering the repeating group and even when you delay all the items, the drop down will stay same?
That’s not possible…
If the dropdown is pulling items from the database and you delete them, they are gone, so they will no longer appear in the dropdown.
Obviously, if you’ve seen that, then the dropdown is not pulling the same items from the database, or they are not being deleted.
Thanks bro for your helping
Actually what you can do is to set the list display text to a custom state of type list of text, and use this custom state to show in the dropdown
Because the custom state is type of static text of the display text you’re using to show in the dropdown, it will get affected by deleting the original object from the db
Thanks a lot. that worked as I wanted. My best Regards
This topic was automatically closed after 70 days. New replies are no longer allowed.