Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using kendo dialog in nx-based angular application with "ChangeDetectionStrategy" to add employee details. In the dashboard component I have first kendo dialog which contains kendo multicombobox. From that I can search for employee and if employee is not there I can add employee by clicking the ADD EMPLOYEE button which is in the footer. That footer button will give us another kendo dialog which is the part of employee component, where we can add details of new employee. What I expected is while clicking on ADD EMPLOYEE the second dialog from employee component should be opened. But this behavior is not working. I have solved it by manually triggering the "ChangeDetectorRef" .I am looking for the exact reason why change detection didn't occur on the click event of ADD EMPLOYEE. Along with this concern I am attaching my github repo link also. Code can be accessed from this link

https://github.com/AleenaJoice/Change-detection-.git

What I have tried:

GitHub - AleenaJoice/Change-detection-
Posted
Comments
Richard Deeming 12-May-22 10:38am    
Don't just dump a link to your project and expect someone to download it, debug it, and tell you what the problem is. Instead, clearly and precisely explain what the problem is, what you have tried, and where you are stuck. Include the relevant parts of your code, and the full details of any errors.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900