You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/01/17 08:55:55 UTC

[GitHub] [royale-asjs] pashminakazi edited a comment on issue #676: CheckBox is not shown as ADG Column

pashminakazi edited a comment on issue #676: CheckBox is not shown as ADG Column 
URL: https://github.com/apache/royale-asjs/issues/676#issuecomment-575534578
 
 
   not working
   ![image](https://user-images.githubusercontent.com/42200979/72597910-90df7b00-3930-11ea-8df8-4fd990b5e93b.png)
   `private function oddsEvens(value:Object):String
               {
                   var checked:Boolean = data.vtu_Selected == '0' ? false : true;
                   return (checked) ? "☑" : "☐";
               }`
   
   `<mx:AdvancedDataGridid="dgAuthorities" sortExpertMode="true" styleName="advancedDataGrid" 
    rowHeight="20" verticalAlign="middle" resizableColumns="true"
    change="fn_PFWithAuthItem();" dataProvider="{vtuData}" textAlign="left" 
    tabEnabled="false" tabFocusEnabled="false" left="2" right="2" bottom="10" top="95">
   <mx:columns>
              <mx:AdvancedDataGridColumn dataField="vtu_Selected" headerText="Selected" width="70" 
               labelFunction="oddsEvens"/>
   </mx:columns>
   </mx:AdvancedDataGrid>
   <s:CheckBox x="27" y="6" label="Selected" id="vtu_Selected" height="20"/>` 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services