6 Dec 2012 3:57 AM #1
Unanswered: Date picker parent
How can i set the parent to a specified element?
I have a container(main) which is a hbox.It has two containers(con1 and con2) with flex 1 and 4. I have the date picker field in con2 but the picker slides down from main container.
I want it to slide up from con2.
How can i do it?
6 Dec 2012 4:14 AM #2
6 Dec 2012 5:12 AM #3
I am calling the picker by a datepickerfield.
How do i call the showBy method?
Can u plz explain with an example.
here's my code:
6 Dec 2012 5:40 AM #4
6 Dec 2012 7:13 PM #5
I tried that but then the picker didn't appeared.
I tried renderTo in datepickerfield and also in piicker. Nothing worked for me.
I might be wrong with the syntax. Can u plz help me out with the syntax.
I want the picker to appear in the container with id- feature,so I wrote
Is this the correct way?
6 Dec 2012 11:21 PM #6
stretchY:trueI write English by translator.
6 Dec 2012 11:41 PM #7
When feature is your id, it should be renderTo: Ext.Viewport.down('#feauture')
But I justed tested this and it doesn't make any difference.
I guess a picker is never displayed inside a container but always on top level.
10 Dec 2012 11:19 PM #8
this didn't help.
can u please help me out with this. I need that picker inside my container.
I tried out something and it worked but it wasn't the best way.
var datePicker = Ext.create('Ext.picker.Date',
This way, i have the date picker inside the container but this is not the correct way..
Can u please figure a simple way.
21 Jan 2013 11:17 PM #9
Can anyone help me out with the above problem