thanks..

On Wed, Sep 23, 2009 at 1:29 PM, amit shrestha <[email protected]> wrote:

> yes there is a way,,but  i don't thing there is a inbuilt method to do so,
> you have to make it by your self. I would do as, make a custom item rendered
> and a model object associated with it. When the button is clicked, i would
> get array of model as:  array = datagrid.dataprovider. Then parse each
> object in that array and set the color attribute [which is set to the back
> ground color attribute of your item renderer], then do
> datagrid.invalidateDisplay list to call "set data"  method of all the item
> renderer. [ in "set data" method set the back ground color.]
>
>
> On Wed, Sep 23, 2009 at 11:30 AM, surendra <
> [email protected]> wrote:
>
>>
>> Hi,
>>
>> I have a datagrid, actually we select the record by clicking on that
>> record and that record will show in selection color.
>> But here i have a button outside datagrid,when i click on that all
>> records in the datagrid are to be selected and should show in
>> selection color .
>> Is that possible.if so plz guide me..
>>
>> Thanks in advance.
>> Surendra.
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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