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
998 Views Asked by AudioBubble At
1
There are 1 best solutions below
Related Questions in IONIC-FRAMEWORK
- CFBundleDocumentType is not working in myproject-Info.plist file
- ionic build android failure - Execution failed for task processDebugResources
- Android Status Bar Icon Size - Using Cordova / Phonegap Push Plugin
- how to show alert when user scroll to top of div in angular js?
- ionic serve uncaught exception
- Parse.com - setting up push notifications for single users
- Understanding the function of this particular 9 patch image
- CORS in ionic app and django
- How to use embedded Ruby HTML files with Ionic and Cordova
- Ionic cordova build
- Input ng-model not updating in Main view
- ng-click event not getting cleared in Ionic app
- How to show image caption in ionicframework?
- whitelisting a domain in ionic app
- Adding visionmedia/debug to an Ionic/AngularJS application
Related Questions in PARENT
- Positioning child at bottom of parent with scroll
- Google Drive API VB.NET Parent Folder of a Folder
- settattr for parent class to use in children
- Accessing a variable in the parent AS3 script from a child script
- How do I add "Parent Reference item" to "File item List" using C#
- Add Class to parent, jquery and IE9
- how to stop Directory.CreateDirectory creating parents?
- Store checked/filled objects in a string for each panel
- Invalid commands for child process in background in C
- How to handle different event handlers with same parent?
- PHP Docblock for child using parent constructor?
- Weird behavior of parent and child in fork
- Why does this code with fork() only produce one output?
- ondrop affects target's parent
- ActionListener in parent class
Related Questions in CHILDREN
- Couting nodes with onyl one child in BST
- Django Total Children Count across query
- PHP XML - Child nodes retriving data
- Silverlight: Get first TextBox in DataTemplate
- Java Swing: JTree DefaultMutableTreeNode not updating
- How do I create a child element within a Nokogiri node?
- Clearing svg multiple children with a loop not working
- Panel's Children as ComboBox's ItemsSource
- Patrol using children waypoints
- Swift 3 (SpriteKit): Changing the alpha value of the parent which affects all children
- How to enable a children of a clone object in Unity?
- Display Related Child Pages in Wordpress
- How to get the list of divs inside another div in JQuery?
- How to select a child of a sibling element
- How can I clear all the pushpins from my Bing Map and still be able to add more after that?
Related Questions in ITEMS
- android expandlistview delete items
- How to Set List Items of a usercontrol in XAML
- Day difference between to items that belong to a pack
- How to change the size of an item in a ListView dynamically?
- How to handle individual Datarepeater Item Events in VB.NET
- WPF, Listbox items as source to other Listbox
- php: counter break after 4 items then start another with new div
- javafx binding combobox itemsProperty
- Python Write To File Error: Lists
- Usercontrol contains a combobox, but the Items set at design time are not in the run time
- VB Saving Listview Items Error
- How do I access a control inside a custom ListBox template?
- MySQL Counting different items in one query
- An event that fires when number of items in combobox changes
- more different items in one list
Related Questions in ION-LIST
- Display an ion-item in an ion-list dynamically
- Ionic formControlName and ngIf don't work together
- Multiline item showing zic-zac while using text-wrap in ion-grid ionic 2
- Can I make an ngFor repeath specifict times of an array? Ionic
- How to fetch data from cloud firestore to an ion-list angular 9 /ionic 5
- How to make a static ion-list scrollable in ionic?
- How to display different type of elements on different segment button clicks in ionic?
- ionic - clicking an item should update the list
- ION-LIST fill left an right side with different contents
- ion-list is not scrolling and items are not clickable
- Ionic 4 Arrow Functions
- Ionic horizontal reordering list
- Ionic - HTML list with parents and child elements
- Ionic 5 ion-content ion-list scroll disabled after scroll down
- Ionic 5 ion refresh problem when we also used ion gesture
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 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?

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.