This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 5cdcfd3  tourdejewel: datagrid labelFuncion example at column level
5cdcfd3 is described below

commit 5cdcfd3640aa6dfcbcdd1306cfeddbf6acf7fe98
Author: Carlos Rovira <[email protected]>
AuthorDate: Mon Aug 10 17:24:29 2020 +0200

    tourdejewel: datagrid labelFuncion example at column level
---
 examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml 
b/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
index 6d6824f..d358a07 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
@@ -204,12 +204,12 @@ limitations under the License.
                                        <j:DataGrid localId="dg1" 
                                                change="lb1.html = 
describeItem(event.target.selectedItem)"
                                                
initComplete="loadDataProvider(dg1)">
-                                               <j:beads>
+                                               <!-- <j:beads>
                                                        <js:LabelFunction 
labelFunction="formatLabel"/>
-                                               </j:beads>
+                                               </j:beads> -->
                                                <j:columns>
                                                        <j:DataGridColumn 
label="Title" dataField="title"/>
-                                                       <j:DataGridColumn 
label="Sales" dataField="sales"/>
+                                                       <j:DataGridColumn 
label="Sales" dataField="sales" labelFunction="formatLabel"/>
                                                </j:columns>
                                        </j:DataGrid>
 

Reply via email to