- Home
- Forum
- Angular - EJ 2
- Datepicker dropdown on modal [ position ]
Datepicker dropdown on modal [ position ]
|
onOpen(args) {
args.popup.position = { X: "left", Y: "top" }; // changing popup position
}
|
|
onOpen(args) {
args.popup.offsetX=500; // changing the popup position with set any number value
args.popup.offsetY=500;
}
|
- Have you rendered the DatePicker component inside Grid Dialog Template?
- Have you done any CSS style changes for DatePicker component?
- Are you facing this issue in the DatePicker component alone or else all the popup components such as DropDownList, AutoComplete, TimePicker component, etc.?
- Share the issue reproducing sample or code example (if possible).
Hi,
I'm getting this error "Cannot read properties of undefined (reading 'popup')" when using the above code. Could you please give me an example in stackblitz.
Hi Sharath Daniel,
Thank you for bringing up the error you encountered regarding "Cannot read properties of undefined (reading 'popup')." We understand the importance of resolving this issue promptly to ensure smooth functionality of the DatePicker component.
We have prepared a simple DatePicker component with an open event to set the popup position. However, upon testing, we were unable to replicate the issue at our end. Please find the attached sample below:
If you continue to experience the issue, we kindly request you to modify the shared sample to replicate the scenario you're encountering. Additionally, if possible, please provide a video illustration of the issue for better understanding.
Should you require further assistance or have any questions, please feel free to reach out to us. We're here to help.
- 4 Replies
- 4 Participants
- Marked answer
-
DN Dawid Namyslak
- Jul 9, 2020 11:08 AM UTC
- Mar 7, 2024 05:19 AM UTC