I have data in array where every element represents parent object, and every parent object has items array, whose elements are children. I have to generate on HTML parents list + nested children list under every parent. Every child element is clickable (navigates to another page). Something like on image. Any help here? I can use *ngFor to iterate first level elements (parents) and use ion-list and ion-item but how to nest children?
Ionic - HTML list with parents and child elements
1000 views Asked by AudioBubble At
1
There are 1 answers
Related Questions in IONIC-FRAMEWORK
- Firebase link existing user to anonymous account?
- Ionic Angular Standalone ion-icon are not showing at all
- Unable to run ionic app on Android emulator - [error] ADBs is unresponsive after 5000ms
- How should I filter Observables the "Right Way" with RxJs in Angular 17?
- Ionic/Capacitor: Background Location Tracking on iOS and Android?
- Best Approach for Implementing Video Selection from Gallery/Files in Ionic-React with Capacitor
- <video> tag with downloaded path in ionic ios not loads the video
- How do I record that this ionic checkbox has been checked by the user?
- Ionic 5 angular sharing a component between two modules
- mergeDebugResources FAILED
- Issue saving generated image to local filesystem in iOS using Capacitor
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- How to Polyfill node core modules in webpack 5 using ionic capacitor angular
- I'm developing an Android, but I can't see my "console.log" in logcat
Related Questions in PARENT
- Container Inset box-shadow over child image
- How to Get Parent node path for Child node in Inner JSON structure for Java?
- addclass also to parents
- How to Remove slug from Custom Post type created from Custom Post Type UI WordPress plugin?
- Optionally reference parent struct
- Debugging parent class constructor
- how to save entity with parent in gorm
- Import struct from main package into another package in golang
- Create a parent React project (Shared)
- How to access super function when overriding a function using a function passed as a parameter in Javascript?
- TCL top level disabling parent window not working in OpenSuse
- Ionic bind class or variable to dynamically created scroll DIV wrapper
- How to find ultimate parent
- What is parent directory of a process?
- Get the Window for a JMenuItem?
Related Questions in CHILDREN
- Views Children Not found
- fetching and assigning value to childByAutoId from database
- How do I get the individual elements that are children of a React component?
- How to focus on treeview children
- Column's children widget alignment not working in Flutter
- How to create a List with children tree from SwiftData model
- ReactJs: How can I optimally pass a list of conditional children to parent?
- How to get the child chaining correct for access to a Text Entity in an rcproject?
- Infinite slider using HTML elements reorder
- Passing state and props from parent to {children}
- error in react child by udsing array in map function
- Flutter: how to stop the finger in the side borders of the screen count as a touch?
- Function to find out children of multiple HTML elements and use as custom attribute
- "On duplicate key update" in recursive query using gorm updates only parent_id field for the child record
- Properly sorting data into Parents/Children/Grandchildren in excel by python
Related Questions in ITEMS
- Python check if item is in dictionary items
- need a hand of a problem of my es_extended
- Why itemsprovider from quickgrid componend fired twice when use paginatione:true?
- Excel VBA combobox skipped items
- Power Automate : How to use variable in items() function
- Nested loops for - the inner loop does not pass through the values
- Vuetify v-select displays number 1 below the select after an item is selected
- Using the tab_itemscale() function of the sjPlot package with a discrete response options (A, B, C, D)
- Duplicate list items
- How to add Query results to Combobox, Error with Combobox Items - Access VBA
- .items() reading a dictionary as a list and throwing an attribute error
- How do i select items in a gallery usign checkboxes
- How can I arrange a dictionary using python so that the values are represented from lowest to highest order?
- Android Calculate distance in px between list items in recycler view
- Python :Remove items that are less than 4 characters
Related Questions in ION-LIST
- Can I make an ngFor repeath specifict times of an array? Ionic
- Ionic formControlName and ngIf don't work together
- How to fetch data from cloud firestore to an ion-list angular 9 /ionic 5
- Ionic 5 ion-content ion-list scroll disabled after scroll down
- Ionic 5 ion refresh problem when we also used ion gesture
- Ionic: change ion-list items on click
- Different Lists in different slides scroll at same time
- Remove spacing in ion-list
- show ion-list over other elements
- Ionic 3: ion-list not showing inside ion-item
- Ionic horizontal reordering list
- Ionic 4 Arrow Functions
- ion-list is not scrolling and items are not clickable
- Display an ion-item in an ion-list dynamically
- Ionic - HTML list with parents and child elements
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?
Popular Tags
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)

You can basically do a nested
*ngFor.Example data:
Example template:
At the top-level you iterate your categories, and for every single category, you iterate its items.