I have an account entity, which has a contact type and value props inside, In Frontend UI, this data should be represented as a table inside of Form when creating or editing an account. What is the best way of doing this?
How to display an editable table inside the edit entity component Cuba Platform Frontend UI
222 Views Asked by aspiringdev At
1
There are 1 best solutions below
Related Questions in CUBA-PLATFORM
- Creating a listener for UserSessions (CUBA Studio)
- NULL value in the "key_" column of the "am_location" relation violates the NOT NULL constraint
- How do I check that dates from one range are not in another range?
- Remove the file inside CUBA Platform's FileUpload component
- How to update multiple entities in Cuba Platform Frontend UI
- How to filter for un-empty array in CUBA Platform collection
- How to change filter in CUBA Platform's DataTable
- How to change progressBar in cuba into a circular
- forgot password in cuba
- CUBA Platform Frontend UI update model doesn't work
- How to display an editable table inside the edit entity component Cuba Platform Frontend UI
- How to get photo data in data collection CUBA Platform
- Cuba Platform Frontend UI entitities don't appear
- How to remove shadow for specific element in CUBA Platform?
- Cuba Platform Charts: vertical alignment
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It depends on what is the relationship between Account and Contact: is it Association or Composition.
Composition
If Contact can only exist as part of an Account, then these entities should have One-to-Many Composition relationship. In this case framework will automatically do exactly what you want: Account entity editor will contain a table to add/remove/edit Contacts.
Note, however, that in this case:
Association
If Contact can exist on its own, then Account and Contact should be connected using Association. In this case generated Account entity editor will only allow you to link existing Contacts (you'll need to create Contacts using its own editor).
If you want both Association relationship and a table inside the editor you can create your own form field component:
See this Data Modelling guide for more details on Composition vs. Association.