[flexcoders] STOP selection of header row while selecting by keyboard up arrow key

2010-06-25 Thread DevSachin
Hi, I want to STOP selection of header row while selecting by keyboard up arrow key. I mean to say, when i am in 0th row index of the ADG then i dont want to allow user to press up key and go focus to header(rowIndex=-1). I am trying to use following code..But focus is not removing from the

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

2010-06-16 Thread DevSachin
(this); } override protected function mouseDownHandler(event:MouseEvent):void { super.mouseDownHandler(event); setFocusToGrid(); } DevSachin wrote: Hi, Alex. I want to apply default behaviour of Flex. As when we second time click inside the editor, cursor will be positioned

[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

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

Re: Re[flexcoders] cycling height issue in custom item renderer

2010-06-14 Thread DevSachin
http://old.nabble.com/file/p28877688/multiplzText.jpg Result is appearing like this. please see the red rounded area. -- View this message in context: http://old.nabble.com/Recycling-height-issue-in-custom-item-renderer-tp28831427p28877688.html Sent from the FlexCoders mailing list archive at

Re: Re[flexcoders] cycling height issue in custom item renderer

2010-06-11 Thread DevSachin
} Then your updateDisplayList should simply layout within the given dimensions. On 6/10/10 7:21 AM, DevSachin talktosachin2...@rediffmail.com wrote: I have some problem if i do textData.setActualSize(w,textData.textHeight+2+2); into measure function then row height is not working

Re: Re[flexcoders] cycling height issue in custom item renderer

2010-06-10 Thread DevSachin
Hi Alex, Thanks alot for quick reply. I know we can not stop recycling. My question was how to solve row height issue that is cause by recycling renderer? Now i have changed the measure() function as you said and didnot faced row height recycling issue yet. I am still testing it, Query :please

Re: Re[flexcoders] cycling height issue in custom item renderer

2010-06-10 Thread DevSachin
I have some problem if i do textData.setActualSize(w,textData.textHeight+2+2); into measure function then row height is not working proper. I am using master-Detail grid(double grid) concept and using custom renderer on inner grid. DevSachin wrote: Hi Alex, Thanks alot for quick reply. I

Re[flexcoders] cycling height issue in custom item renderer

2010-06-09 Thread DevSachin
Hi All, I have a recycling height issue with cutom renderer of ADG. Renderer is a UIComponent and contains a Text control to show string values. My objective is to create this custom item renderer is to show multiline text and to show framed border around cell etc. i am pasting code basic code

Re: [flexcoders] Use a Popup as itemEditor in Datagrids

2010-05-12 Thread DevSachin
, but there should be an ITEM_EDIT_BEGINNING right after that you can use to cancel the editing of that renderer. On 5/11/10 4:51 AM, DevSachin talktosachin2...@rediffmail.com wrote: Hi Alex, Thanks for Quick reply. Yes, it is not readonly but editedItemRenderer is readonly. Now, My

Re: [flexcoders] Use a Popup as itemEditor in Datagrids

2010-05-11 Thread DevSachin
Hi Alex, Thanks for Quick reply. Yes, it is not readonly but editedItemRenderer is readonly. Now, My 50% problem is solved but 50% is still remaining. After closing popup and returning focus to grid, cell is opened in edit mode. I want this cell in renderer mode. How should I dispatch itemEditEnd

[flexcoders] magnifying glass effect in Flex : Solution

2010-05-11 Thread DevSachin
Hi I have created a sample here with Flex for magnifying glass in flex: http://devsachinonflex.blogspot.com/2010/04/magnifying-glass-in-flex.html Sachin dev tripathi Flex Developer -- View this message in context:

RE: Re: [flexcoders] Use a Popup as itemEditor in Datagrids

2010-05-10 Thread DevSachin
Hi Alex, I studied your example at http://blogs.adobe.com/aharui/2008/08/datagrid_with_popup_editor.html I have created editing cell with popup editor with ADG and also implement cell edit in double click instead of single click. I have written itemeditBeginning handler and written a condition

Re: [flexcoders] itemRollOver and itemDoubleClick not firing on datagrid

2010-04-22 Thread DevSachin
The problem is this undocumented property of ADG.. ADG.useRollOver = true; i spoiled my 4-5 hours to findout this..-(-(..what the hell is the doumentation of ADG? seb556 wrote: My code : mx:Script ![CDATA[ import mx.events.ListEvent; private function

Re: Re: [flexcoders] DataGrids with large datasets Tips Tricks?

2010-03-24 Thread DevSachin
Thanks Alex. It is very useful or me also. I am in same scenario because i have created a custom grid that is being used in many pages of my project. columns and data are created in runtime as well. although i have created lightwet renderers to get optimize performance. but few things i learned

Re: [flexcoders] overloading styleFunction for ADG..How?

2009-11-13 Thread DevSachin
I have achived my work through overriding applyUserStylesForItemRenderer() of ADG. DevSachin wrote: Hi All I want to create a logic to overload features of stylefunction of ADG. currently stylefunction has limited set of styles to apply on a cell like color,fontweight etc. I want

[flexcoders] overloading styleFunction for ADG..How?

2009-09-21 Thread DevSachin
Hi All I want to create a logic to overload features of stylefunction of ADG. currently stylefunction has limited set of styles to apply on a cell like color,fontweight etc. I want to create a styleFunction which can do extra features like set image in a cell,Border(frame) around the cell etc