Re: [flexcoders] problem to position cursor in itemeditor by mouse, in editable mode of Grid.

2010-06-15 Thread DevSachin
I have found my mistake, i have overridden mouseDownHandler() because sometimes VScrollBar was not working proper due to focus . I am sorry, i have unnecessary incresed one post here. thanks for your appreciation. Mistake was: private function setFocusToGrid():void { focusManager.setFocus(this); }

Re: [flexcoders] problem to position cursor in itemeditor by mouse, in editable mode of Grid.

2010-06-15 Thread DevSachin
Hi, Alex. I want to apply default behaviour of Flex. As when we second time click inside the editor, cursor will be positioned at clicked position. Alex Harui wrote: > > On focusIn, use callLater to set the selectionBeginIndex and > selectionEndIndex > > > On 6/15/10 8:12 AM, "DevSachin" wr

Re: [flexcoders] problem to position cursor in itemeditor by mouse, in editable mode of Grid.

2010-06-15 Thread Alex Harui
On focusIn, use callLater to set the selectionBeginIndex and selectionEndIndex On 6/15/10 8:12 AM, "DevSachin" wrote: Hi, I have created a custom grid by extending ADG class. After adding many extra features on it, i am working on editable grid feature but in edit mode, i can not able to

[flexcoders] problem to position cursor in itemeditor by mouse, in editable mode of Grid.

2010-06-15 Thread DevSachin
Hi, I have created a custom grid by extending ADG class. After adding many extra features on it, i am working on editable grid feature but in edit mode, i can not able to use mouse to position the cursor in the editor(UiTextField). All time whole text is selected and i have to use keyboard arrow k