You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried to use parentEl to render my daterangepicker within a specific div with id = 'my-div-id'
Different ways I tried
Passing a simple string 'my-div-id'
Passing a dom element using document.getElementById('my-div-id')
Passing a jquery element $('#my-div-id')
None of the above methods seem to work. Could anyone please share how do I use parentEl to render my daterangepicker as a child of a specific div. initialSettings={{ startDate: state.startDate, endDate: state.endDate, ranges: state.ranges, opens: 'left', parentEl: parentEl }}
Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I tried to use parentEl to render my daterangepicker within a specific div with id = 'my-div-id'
Different ways I tried
Passing a simple string 'my-div-id'
Passing a dom element using document.getElementById('my-div-id')
Passing a jquery element $('#my-div-id')
None of the above methods seem to work. Could anyone please share how do I use parentEl to render my daterangepicker as a child of a specific div.
initialSettings={{ startDate: state.startDate, endDate: state.endDate, ranges: state.ranges, opens: 'left', parentEl: parentEl }}
Thanks.
The text was updated successfully, but these errors were encountered: