Varun don't load the images in the render. Instead use embed. See if it
helps

On Sat, Jan 23, 2010 at 11:37 AM, Varun Bajaj <[email protected]> wrote:

> Jitendra thanks for your support but it is still showing same problem.
> In my application file i included advanced datagrid by following code.
>
> <ADG:ADGrid id="adg" />
>
>
> Warm reagards,
>
> Varun Bajaj
>
>
>
> On Fri, Jan 22, 2010 at 6:27 PM, Jitendra Jain <
> [email protected]> wrote:
>
>> When you are scrolling the datagrid, item renderes are loading the images
>> which often takes time to calculate height and width etc. So inorder to stop
>> this you need to override this method. It will be taken care during the
>> later screen update.
>>
>>
>> On Fri, Jan 22, 2010 at 6:20 PM, Jitendra Jain <
>> [email protected]> wrote:
>>
>>> Add this function to ADGrid.mxml and see if it works.If not then please
>>> sent the file in which you are creating an instance of this AdvancedDataGrid
>>> object.
>>>
>>>
>>>
>>> override protected function scrollVertically(pos:int, deltaPos:int,
>>> scrollUp:Boolean):void{
>>> invalidateDisplayList();
>>> super.scrollVertically(pos,deltaPos,scrollUp);
>>> }
>>>
>>>
>>> On Fri, Jan 22, 2010 at 4:37 PM, Varun Bajaj <[email protected]> wrote:
>>>
>>>> Thanks jitendra for your response i am attaching my code files with this
>>>> mail. Also there is data file as xml format.
>>>>
>>>>
>>>> Warm regards,
>>>> Varun bajaj
>>>>
>>>>
>>>> On Fri, Jan 22, 2010 at 3:12 PM, Jitendra Jain <
>>>> [email protected]> wrote:
>>>>
>>>>> ItemRenderers are reusable components. Override function set data
>>>>> method .It will be good if you attach a zip file of your code.
>>>>>
>>>>> On Fri, Jan 22, 2010 at 1:05 PM, Varun Bajaj <[email protected]>wrote:
>>>>>
>>>>>> Dear All
>>>>>>
>>>>>> Greeting for the day. I am working with advancedDataGrid with
>>>>>> itemrenderer as hbox which is having image and label. Image should shown
>>>>>> only if data exist. It works fine when grid loads but it comes out in bad
>>>>>> shape after scrolling.
>>>>>>
>>>>>> Image spreads all over the cells. Please provide me any idea / code to
>>>>>> remove the error.
>>>>>>
>>>>>> Warm regards,
>>>>>>
>>>>>> Varun Bajaj
>>>>>>
>>>>>>  --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Flex India Community" group.
>>>>>> To post to this group, send email to [email protected].
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected]<flex_india%[email protected]>
>>>>>> .
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>>>
>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Flex India Community" group.
>>>>> To post to this group, send email to [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<flex_india%[email protected]>
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Flex India Community" group.
>>>> To post to this group, send email to [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<flex_india%[email protected]>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/flex_india?hl=en.
>>>>
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to