Another way is to have a custom renderer that checks its index and the 
DataGrid's selectedIndex and decides whether to display the check or not.  The 
index and reference to the DataGrid are in the "listData" property of a custom 
IDropInListItemRenderer (which is of type DataGridListData).

I'm not sure one way is better than the other.  Also, some folks don't even use 
a real CheckBox, they just display the graphic.

-Alex

On 9/11/19, 4:40 AM, "Olaf Krueger" <m...@olafkrueger.net> wrote:

    Hi,
    
    one way is to introduce a boolean flag, e.g. 'checked' within your data
    model which is 'countryData'.
    After clicking a row, you have to set this flag to 'true' for the related
    row.
    
    Within the item renderer, you have to evaluate the 'checked' property in
    order to update the 'selected' property of the checkbox.
    
    Hope this helps!
    
    Olaf
    
    
    
    
    
    --
    Sent from: 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cbab8d033570a4a1f231408d736acd277%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637037988247042278&amp;sdata=RGG2W7C5DQMeDrHhOScXMDBhDIRO87w6S2P4ZMrWJfc%3D&amp;reserved=0
    

Reply via email to