Search and Top Navigation
#4306 closed feature (duplicate)
Opened March 09, 2009 04:53PM UTC
Closed April 03, 2013 06:44PM UTC
Datepicker: Expose option to append to something else then body
Reported by: | jzaefferer | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.11.0 |
Component: | ui.datepicker | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Currently the datepicker is always appended to the body element, hardcoded (except inline datepickers). The code is even scattered across the plugin, so to change it I have to change various places.
A potential name for the option would be "appendTo", accepting a selector/jQuery object, with the default of "body" or document.body.
For a usecase, see http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/49a59aa4dfb6e96e
Attachments (0)
Change History (10)
Changed March 09, 2009 04:55PM UTC by comment:1
description: | Currently the datepicker is always appended to the body element, hardcoded (except inline datepickers). The code is even scattered across the plugin, so to change it I have to change various places. \ \ A potential name for the option would be "appendTo", accepting a selector/jQuery object, with the default of "body" or document.body. \ \ For a usecase, see (ui-dev thread). → Currently the datepicker is always appended to the body element, hardcoded (except inline datepickers). The code is even scattered across the plugin, so to change it I have to change various places. \ \ A potential name for the option would be "appendTo", accepting a selector/jQuery object, with the default of "body" or document.body. \ \ For a usecase, see http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/49a59aa4dfb6e96e |
---|
Changed April 24, 2009 11:48AM UTC by comment:2
The same option would apply to the Dialog control.
Changed May 07, 2009 11:36AM UTC by comment:3
milestone: | TBD → 1.next |
---|
Changed March 03, 2011 09:08AM UTC by comment:4
Hi. Is there any chance that this will be fixed soon? Now there is no way to use this datepicker in a scrollable element.
Changed March 03, 2011 12:59PM UTC by comment:5
This won't be fixed until datepicker is rewritten, which is currently planned for the 2.0 release, but it's possible that it can land in the 1.9 release.
Changed June 26, 2012 01:22AM UTC by comment:6
type: | enhancement → feature |
---|
Changed October 03, 2012 03:42PM UTC by comment:7
milestone: | 1.next → 1.11.0 |
---|
Changed October 16, 2012 08:42PM UTC by comment:8
status: | new → open |
---|---|
summary: | Expose option to append to something else then body → Datepicker: Expose option to append to something else then body |