cristallium commented on issue #505: ItemRenderer on Basic DataGrid doesn't 
work on 0.9.6
URL: https://github.com/apache/royale-asjs/issues/505#issuecomment-542890971
 
 
   Aharui, thanks for this explanation.
   
   Finaly I found how to force **DataItemRendererFactoryForArrayList**   
   
   This was bad
   ```
   .DataGridColumnList {
                IDataProviderItemRendererMapper: 
ClassReference("org.apache.royale.html.beads.DataItemRendererFactoryForArrayList");
   } 
   ```
   This is good :
   ```
    js|DataGridColumnList {
                IDataProviderItemRendererMapper: 
ClassReference("org.apache.royale.html.beads.DataItemRendererFactoryForArrayList");
    } 
   ```
   **So now it's working right with ArrayList**
   
   But I don't understand why we can use 
   ```
                .DataGridColumnList .StringItemRenderer {
                        background-color: #ff0000;
                }
   ```
   or
   ```
                js|DataGridColumnList js|StringItemRenderer {
                        background-color: #ff0000;
                }
   ```
   **both** are working in style but not for 
**IDataProviderItemRendererMapper** . Why ? What is the good practice to use 
between js| or . (dot) selector ? 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to