Hi, I am using SmartGwt 2.5 nightly build 2011-08-05 with gwt 2.3. Browser FireFox 5.0, Chrome 13.0.782.112 m
After change to smartgwt 2.5 and gwt 2.3 I can't get daterange dialogbox from ListGridFilterEditor (I am not sure if this is related to my problem)
When I click date picker in ListGridFilterEditor I get only date chooser instead of daterange dialog box.
below logs from dev console when I click date picker in ListGridFilterEditor:
Could somebody tell me why it works in different way ? (I have created simple test case project (base on the same smartgwt and gwt version) with ListGrid displaying dates with FilterEditor and I can get date range dialog box)
There is some API to control such behaviour ?
After change to smartgwt 2.5 and gwt 2.3 I can't get daterange dialogbox from ListGridFilterEditor (I am not sure if this is related to my problem)
When I click date picker in ListGridFilterEditor I get only date chooser instead of daterange dialog box.
below logs from dev console when I click date picker in ListGridFilterEditor:
Code:
18:15:20.097:TMR4:DEBUG:EventHandler:mousing over [ScreenSpan ID:isc_WndAwarie_2_modalMask] 18:15:21.230:TMR9:DEBUG:EventHandler:mousing out of [ScreenSpan ID:isc_WndAwarie_2_modalMask] mousing over [Window ID:isc_WndAwarie_2] 18:15:21.256:TMR4:DEBUG:EventHandler:mousing out of [Window ID:isc_WndAwarie_2] mousing over [Canvas ID:isc_Canvas_0] 18:15:21.405:TMR7:DEBUG:EventHandler:mousing out of [Canvas ID:isc_Canvas_0] mousing over [Window ID:isc_WndAwarie_2] 18:15:21.490:TMR2:DEBUG:EventHandler:mousing out of [Window ID:isc_WndAwarie_2] mousing over [RecordEditor ID:isc_ListGrid_2filterEditor] 18:15:21.503:TMR5:DEBUG:EventHandler:mousing out of [RecordEditor ID:isc_ListGrid_2filterEditor] mousing over [DynamicForm ID:isc_DynamicForm_8] 18:15:21.503:TMR5:DEBUG:Label:isc_Label_1:setRect: {left: 0, top: -1000, width: undef, height: undef} 18:15:21.515:TMR8:INFO:redraws:isc_Label_1:Scheduling redraw (setContents) Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef) Canvas.$q9(_1=>"setContents", _2=>undef) Canvas.markForRedraw(_1=>"setContents") Canvas.setContents(_1=>"Pokaż kalendarzyk") [c]Hover.show(_1=>"Pokaż kalendarzyk", _2=>Obj, _3=>undef, _4=>undef) FormItem.$170() [c]Hover.setAction(_1=>[DateTimeItem ID:isc_DateTimeItem_9 name:dataDo], _2=>FormItem.$170(), _3=>null, _4=>500) FormItem.$113(_1=>"picker") DynamicForm.$11y(_1=>Obj, _2=>"mouseMove") DynamicForm.handleMouseMove(_1=>Obj, _2=>undef) [c]EventHandler.bubbleEvent(_1=>[DynamicForm ID:isc_DynamicForm_8], _2=>"mouseMove", _3=>undef, _4=>undef) [c]EventHandler.$kz(_1=>null, _2=>Obj) [c]EventHandler.$kx(_1=>null, _2=>Obj) [c]EventHandler.$kv(_1=>1313511321514) [c]Class.fireCallback(_1=>Obj, _2=>undef, _3=>Array[1], _4=>[Class EventHandler], _5=>true) on [Class Timer] Stack trace for setTimeout() call: [c]Timer.setTimeout(_1=>Obj, _2=>0, _3=>true, _4=>undef) [c]EventHandler.handleMouseMove(_1=>[object MouseEvent]) [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseMove(), _2=>[object MouseEvent]) anonymous(event=>[object MouseEvent]) 18:15:21.516:TMR8:INFO:sizing:isc_Label_1:Specified size: 100x1, drawn scroll size: 100x38, border: 0x0, margin: 0x0, old size: 100x38, reason: undefined 18:15:21.516:TMR8:DEBUG:sizing:isc_Label_1:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 100, scrollHeight: 38, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 38, styleLeft: "0px", styleTop: "-1000px", styleWidth: "100px", styleHeight: "38px", styleClip: ""} 18:15:21.517:TMR8:DEBUG:sizing:isc_Label_1:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 100, scrollHeight: 38, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 38, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 18:15:21.517:TMR8:DEBUG:Label:isc_Label_1:setRect: {left: null, top: -9999, width: 100, height: 1} 18:15:21.518:TMR8:INFO:redraws:isc_Label_1:Immediate redraw of dirty widget (show() while dirty) Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef) Canvas.$q9(_1=>"show() while dirty", _2=>false) Canvas.redraw(_1=>"show() while dirty") Canvas.setVisibility(_1=>"inherit") Canvas.show() [c]Hover.show(_1=>"Pokaż kalendarzyk", _2=>Obj, _3=>undef, _4=>undef) FormItem.$170() [c]Hover.setAction(_1=>[DateTimeItem ID:isc_DateTimeItem_9 name:dataDo], _2=>FormItem.$170(), _3=>null, _4=>500) FormItem.$113(_1=>"picker") DynamicForm.$11y(_1=>Obj, _2=>"mouseMove") DynamicForm.handleMouseMove(_1=>Obj, _2=>undef) [c]EventHandler.bubbleEvent(_1=>[DynamicForm ID:isc_DynamicForm_8], _2=>"mouseMove", _3=>undef, _4=>undef) [c]EventHandler.$kz(_1=>null, _2=>Obj) [c]EventHandler.$kx(_1=>null, _2=>Obj) [c]EventHandler.$kv(_1=>1313511321514) [c]Class.fireCallback(_1=>Obj, _2=>undef, _3=>Array[1], _4=>[Class EventHandler], _5=>true) on [Class Timer] Stack trace for setTimeout() call: [c]Timer.setTimeout(_1=>Obj, _2=>0, _3=>true, _4=>undef) [c]EventHandler.handleMouseMove(_1=>[object MouseEvent]) [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseMove(), _2=>[object MouseEvent]) anonymous(event=>[object MouseEvent]) 18:15:21.519:TMR8:INFO:drawing:isc_Label_1:$ra(): redrawing 18:15:21.521:TMR8:INFO:sizing:isc_Label_1:Specified size: 100x1, drawn scroll size: 100x38, border: 0x0, margin: 0x0, old size: 100x38, reason: redraw 18:15:21.521:TMR8:DEBUG:sizing:isc_Label_1:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 100, scrollHeight: 38, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 1, styleLeft: "0px", styleTop: "-9999px", styleWidth: "100px", styleHeight: "1px", styleClip: ""} 18:15:21.521:TMR8:DEBUG:sizing:isc_Label_1:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 100, scrollHeight: 38, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 38, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 18:15:21.522:TMR8:DEBUG:drawing:isc_Label_1:Redraw() - Total time to redraw in DOM:2 18:15:21.522:TMR8:DEBUG:Label:isc_Label_1:setRect: {left: 902, top: 152, width: 100, height: 1} 18:15:21.522:TMR8:DEBUG:clickMask:Added unmasked targets:isc_Label_1 [+ decendants] to clickMask with ID: isc_WndAwarie_2 18:15:21.527:RDQ1:DEBUG:drawing:clearRedrawQueue: [Label ID:isc_Label_1] 18:15:21.527:RDQ1:DEBUG:redraws:clearRedrawQueue: 0 redraws (1 items), 1ms 18:15:21.824:MDN4:INFO:EventHandler:Target Canvas for event 'mousedown': [DynamicForm ID:isc_DynamicForm_8] 18:15:21.827:MDN4:DEBUG:EventHandler:Bubbling event 'prepareForDragging', target '[DynamicForm ID:isc_DynamicForm_8]' has handler: DynamicForm.prepareForDragging() 18:15:21.827:MDN4:DEBUG:EventHandler:Event 'prepareForDragging' bubbled to top 18:15:21.827:MDN4:DEBUG:dragDrop:No dragTarget, not dragging 18:15:21.827:MDN4:DEBUG:EventHandler:Event 'mouseDown' bubbled to top 18:15:21.827:MDN4:DEBUG:EventHandler:Event 'mouseStillDown' bubbled to top 18:15:21.829:MDN4:INFO:EventHandler:Target Canvas for event 'undefined': [DynamicForm ID:isc_DynamicForm_8] 18:15:21.875:MUP5:INFO:EventHandler:Target Canvas for event 'mouseup': [DynamicForm ID:isc_DynamicForm_8] 18:15:21.879:MUP5:DEBUG:EventHandler:Event 'mouseUp' bubbled to top 18:15:21.879:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.879:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.879:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.879:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.879:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.879:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.880:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.880:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.880:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.880:MUP5:DEBUG:Page:handleEvent(click): firing action => return logHiliteCanvas.hide(); 18:15:21.883:MUP5:INFO:Date:Unable to determine input format associated with display format undefined - returning default input format 18:15:21.884:MUP5:DEBUG:DateChooser:isc_DateChooser_0:setRect: {left: 814, top: 55, width: undef, height: undef} 18:15:21.887:MUP5:INFO:redraws:isc_DateChooser_0:Scheduling redraw (no reason provided) Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef) Canvas.$q9(_1=>undef, _2=>undef) Canvas.markForRedraw(_1=>undef) DateChooser.setData(_1=>Date(08/09/2011)) FormItem.showPicker(_1=>undef, _2=>undef, _3=>undef, _4=>undef) Class.invokeSuper(_1=>null, _2=>"showPicker", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef) Class.Super(_1=>"showPicker", _2=>[object Arguments], _3=>undef) DateItem.showPicker() anonymous(_4=>[DynamicForm ID:isc_DynamicForm_8], _5=>[DateTimeItem ID:isc_DateTimeItem_9 name:dataDo], _6=>Obj{name:picker}) FormItem.$116(_1=>"picker") DynamicForm.handleClick(_1=>Obj, _2=>undef) [c]EventHandler.bubbleEvent(_1=>[DynamicForm ID:isc_DynamicForm_8], _2=>"click", _3=>undef, _4=>undef) [c]EventHandler.handleClick(_1=>[DynamicForm ID:isc_DynamicForm_8], _2=>undef) [c]EventHandler.$k5(_1=>[object MouseEvent], _2=>undef) [c]EventHandler.handleMouseUp(_1=>[object MouseEvent], _2=>undef) [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) anonymous(event=>[object MouseEvent]) 18:15:21.887:MUP5:INFO:clickMask:showing click mask, action: isc_DateChooser_0.hide(), autoHide true , ID: isc_DateChooser_0, focusCanvas: [DynamicForm ID:isc_DynamicForm_8] 18:15:21.888:MUP5:DEBUG:Label:isc_Label_1:setRect: {left: 0, top: -1000, width: undef, height: undef} 18:15:21.889:MUP5:DEBUG:Label:isc_Label_1:setRect: {left: 0, top: -1000, width: undef, height: undef} 18:15:21.889:MUP5:INFO:redraws:isc_DateChooser_0:Immediate redraw of dirty widget (show() while dirty) Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef) Canvas.$q9(_1=>"show() while dirty", _2=>false) Canvas.redraw(_1=>"show() while dirty") Canvas.setVisibility(_1=>"inherit") Canvas.show() Class.invokeSuper(_1=>null, _2=>"show", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef) Class.Super(_1=>"show", _2=>[object Arguments], _3=>undef) DateChooser.show() FormItem.showPicker(_1=>undef, _2=>undef, _3=>undef, _4=>undef) ** recursed on Class.invokeSuper 18:15:21.891:MUP5:INFO:drawing:isc_DateChooser_0:$ra(): redrawing 18:15:21.897:MUP5:INFO:sizing:isc_DateChooser_0:Specified size: 150x171, drawn scroll size: 146x172, border: 0x0, margin: 4x4, old size: 146x172, reason: redraw 18:15:21.898:MUP5:DEBUG:sizing:isc_DateChooser_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 172, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 167, styleLeft: "814px", styleTop: "55px", styleWidth: "146px", styleHeight: "167px", styleClip: ""} 18:15:21.898:MUP5:DEBUG:sizing:isc_DateChooser_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 172, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 172, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 18:15:21.901:MUP5:INFO:drawing:isc_DateChooser_0:redrawPeers(): 1 peers 18:15:21.901:MUP5:DEBUG:drawing:isc_DateChooser_0:Redraw() - Total time to redraw in DOM:10 18:15:21.902:MUP5:DEBUG:clickMask:Added unmasked targets:isc_DateChooser_0,isc_EdgedCanvas_6 [+ decendants] to clickMask with ID: isc_DateChooser_0 18:15:21.902:MUP5:INFO:nativeFocus:isc_DateChooser_0:about to call native focus() Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef) Canvas.setFocus(_1=>true, _2=>undef) Canvas.focus(_1=>undef) FormItem.showPicker(_1=>undef, _2=>undef, _3=>undef, _4=>undef) Class.invokeSuper(_1=>null, _2=>"showPicker", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef) Class.Super(_1=>"showPicker", _2=>[object Arguments], _3=>undef) DateItem.showPicker() anonymous(_4=>[DynamicForm ID:isc_DynamicForm_8], _5=>[DateTimeItem ID:isc_DateTimeItem_9 name:dataDo], _6=>Obj{name:picker}) FormItem.$116(_1=>"picker") DynamicForm.handleClick(_1=>Obj, _2=>undef) [c]EventHandler.bubbleEvent(_1=>[DynamicForm ID:isc_DynamicForm_8], _2=>"click", _3=>undef, _4=>undef) [c]EventHandler.handleClick(_1=>[DynamicForm ID:isc_DynamicForm_8], _2=>undef) [c]EventHandler.$k5(_1=>[object MouseEvent], _2=>undef) [c]EventHandler.handleMouseUp(_1=>[object MouseEvent], _2=>undef) [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) anonymous(event=>[object MouseEvent]) 18:15:21.903:FCS6:DEBUG:nativeFocus:onfocus fired on: [DateChooser ID:isc_DateChooser_0] 18:15:21.907:MUP5:DEBUG:EventHandler:Event 'click' bubbled to top 18:15:21.919:RDQ8:DEBUG:drawing:clearRedrawQueue: [DateChooser ID:isc_DateChooser_0] 18:15:21.920:RDQ8:DEBUG:redraws:clearRedrawQueue: 0 redraws (1 items), 1ms 18:15:21.947:TMR0:DEBUG:EventHandler:mousing over [DateChooser ID:isc_DateChooser_0] 18:15:22.590:TMR1:DEBUG:EventHandler:mousing out of [DateChooser ID:isc_DateChooser_0] mousing over [ScreenSpan ID:isc_WndAwarie_2_modalMask] 18:15:22.597:TMR4:DEBUG:EventHandler:mousing out of [ScreenSpan ID:isc_WndAwarie_2_modalMask] mousing over [Window ID:isc_WndAwarie_2] 18:15:22.606:TMR7:DEBUG:EventHandler:mousing out of [Window ID:isc_WndAwarie_2] mousing over [Canvas ID:isc_Canvas_0] 18:15:22.631:TMR2:DEBUG:EventHandler:mousing out of [Canvas ID:isc_Canvas_0] mousing over [GridBody ID:isc_ListGrid_2_body] 18:15:23.024:TMR1:DEBUG:EventHandler:mousing out of [GridBody ID:isc_ListGrid_2_body] mousing over [DynamicForm ID:isc_DynamicForm_6] 18:15:23.025:TMR1:DEBUG:Label:isc_Label_1:setRect: {left: 0, top: -1000, width: undef, height: undef} 18:15:23.054:TMR0:DEBUG:EventHandler:mousing out of [DynamicForm ID:isc_DynamicForm_6] mousing over [PaneContainer ID:isc_TabSet_2_paneContainer] 18:15:23.062:TMR3:DEBUG:EventHandler:mousing out of [PaneContainer ID:isc_TabSet_2_paneContainer] mousing over [VLayout ID:isc_VLayout_3] 18:15:23.076:TMR6:DEBUG:EventHandler:mousing out of [VLayout ID:isc_VLayout_3] mousing over [ScreenSpan ID:isc_WndAwarie_2_modalMask] 18:15:23.882:BLR5:DEBUG:nativeFocus:onblur fired on: [DateChooser ID:isc_DateChooser_0] 18:15:24.542:TMR7:DEBUG:EventHandler:mousing over [ScreenSpan ID:isc_WndAwarie_2_modalMask] 18:15:34.244:TMR9:DEBUG:EventHandler:mousing over [GridBody ID:isc_ListGrid_2_body] 18:15:34.838:MOU6:DEBUG:Label:isc_Label_1:setRect: {left: 0, top: -1000, width: undef, height: undef} 18:16:02.828:TMR9:DEBUG:EventHandler:mousing over [ScreenSpan ID:isc_WndAwarie_2_modalMask] 18:16:03.486:TMR6:DEBUG:EventHandler:mousing over [ScreenSpan ID:isc_WndAwarie_2_modalMask] 18:16:06.358:TMR5:DEBUG:EventHandler:mousing over [ScreenSpan ID:isc_WndAwarie_2_modalMask] 18:16:09.091:FCS7:DEBUG:nativeFocus:onfocus fired on: [DateChooser ID:isc_DateChooser_0] 18:16:10.865:KDN8:INFO:EventHandler:keyDown event with Canvas target: [DateChooser ID:isc_DateChooser_0], native target: [DIVElement]{ID:isc_6Z} 18:16:10.865:KDN8:DEBUG:EventHandler:Event 'keyDown' bubbled to top 18:16:11.024:KDN9:INFO:EventHandler:keyPress event with Canvas target: [DateChooser ID:isc_DateChooser_0], native target: [DIVElement]{ID:isc_6Z} 18:16:11.025:KDN9:DEBUG:EventHandler:keyPress not handled natively 18:16:11.026:KDN9:DEBUG:EventHandler:Event 'keyPress' bubbled to top 18:16:11.026:KDN9:INFO:EventHandler:keyPress event with Canvas target: [DateChooser ID:isc_DateChooser_0], native target: [DIVElement]{ID:isc_6Z} 18:16:11.026:KDN9:DEBUG:EventHandler:Event 'keyDown' bubbled to top 18:16:11.027:KPR0:INFO:EventHandler:keyPress event with Canvas target: [DateChooser ID:isc_DateChooser_0], native target: [DIVElement]{ID:isc_6Z} 18:16:11.028:KPR0:DEBUG:EventHandler:keyPress not handled natively 18:16:11.028:KPR0:DEBUG:EventHandler:Event 'keyPress' bubbled to top 18:16:11.074:BLR1:DEBUG:nativeFocus:onblur fired on: [DateChooser ID:isc_DateChooser_0] 18:16:11.136:KUP2:INFO:EventHandler:keyUp event with Canvas target: null, native target: [DIVElement]{ID:isc_6Z} 18:16:11.136:KUP2:INFO:EventHandler:Target Canvas for event 'keyup': [DateChooser ID:isc_DateChooser_0] 18:16:11.140:KUP2:DEBUG:EventHandler:Event 'keyUp' bubbled to top
There is some API to control such behaviour ?
Comment