Unable to reorder components with parent component | Community
Skip to main content
Level 6
October 7, 2022
Solved

Unable to reorder components with parent component

  • October 7, 2022
  • 2 replies
  • 1161 views

My parent component has cq:isContainer set to true and has a childeditor field in it. I am able to select components from my allowed component list. But im unable to reoder them in the crxde or even in the parent component dialog.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Shaheena_Sheikh

i was using hashmap to fetch child nodes, which was causing issue in reordering. I changed that to linkedHashmap and it works now.

2 replies

Shubham_borole
Community Advisor
Community Advisor
October 9, 2022

Are you able to drag and drop the child components? While doing that are there any console errors?

Level 6
October 10, 2022

im able to drag and drop and there are no console error when i do that

Shubham_borole
Community Advisor
Community Advisor
October 10, 2022

Sorry I mean when we try to drag and move the child components, do we see any errors? The reordering should be happening using gui drag and move

Shaheena_SheikhAuthorAccepted solution
Level 6
November 1, 2022

i was using hashmap to fetch child nodes, which was causing issue in reordering. I changed that to linkedHashmap and it works now.