You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pe...@apache.org on 2018/01/05 21:07:07 UTC

[royale-asjs] branch develop updated: Reset the TreeExample (removed in-progress TreeGrid work for later).

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

pent 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 11f70ae  Reset the TreeExample (removed in-progress TreeGrid work for later).
11f70ae is described below

commit 11f70ae3f0881d1b699dbc0ab1bac07d0b3bf426
Author: Peter Ent <pe...@apache.org>
AuthorDate: Fri Jan 5 16:08:27 2018 -0500

    Reset the TreeExample (removed in-progress TreeGrid work for later).
---
 .../TreeExample/src/main/royale/MyInitialView.mxml     | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/examples/royale/TreeExample/src/main/royale/MyInitialView.mxml b/examples/royale/TreeExample/src/main/royale/MyInitialView.mxml
index 65ee26a..1f1b923 100644
--- a/examples/royale/TreeExample/src/main/royale/MyInitialView.mxml
+++ b/examples/royale/TreeExample/src/main/royale/MyInitialView.mxml
@@ -34,28 +34,14 @@ limitations under the License.
         <js:ViewDataBinding />
     </js:beads>
 	
-	<js:Tree id="tree" x="30" y="30" width="400" height="300" 
+	<js:Tree id="tree" x="30" y="30" width="400" height="500" 
 			 labelField="title">
 		<js:beads>
 			<js:ConstantBinding
 				sourceID="applicationModel"
-				sourcePropertyName="gridData"
+				sourcePropertyName="treeData"
 				destinationPropertyName="dataProvider" />
 		</js:beads>
 	</js:Tree>
-	
-	<js:TreeGrid id="treeGrid" x="450" y="30" width="400" height="300">
-		<js:beads>
-			<js:ConstantBinding
-				sourceID="applicationModel"
-				sourcePropertyName="gridData"
-				destinationPropertyName="dataProvider" />
-		</js:beads>
-		<js:columns>
-			<js:TreeGridColumn dataField="title" label="Title" columnWidth="200" />
-			<js:TreeGridColumn dataField="status" label="Status" columnWidth="125" />
-			<js:TreeGridColumn dataField="hours" label="Hours" columnWidth="75" />
-		</js:columns>
-	</js:TreeGrid>
 
 </js:View>

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <co...@royale.apache.org>'].