You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/08/08 08:48:29 UTC

[royale-asjs] branch jewel-datagrid-updates updated: jewe-datagrid: restore Piotr example that had problems before this update

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

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


The following commit(s) were added to refs/heads/jewel-datagrid-updates by this push:
     new 2858143  jewe-datagrid: restore Piotr example that had problems before this update
2858143 is described below

commit 28581434955828c43c96b89703b5eca0aac8fb76
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sat Aug 8 10:48:16 2020 +0200

    jewe-datagrid: restore Piotr example that had problems before this update
---
 .../jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml    | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml b/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
index 2d2dc20..9b71602 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
@@ -476,7 +476,7 @@ limitations under the License.
 					<j:Label text="Row height is not setupe and there are different amount of data in cells"
 						multiline="true"/>
 
-					<j:DataGrid id="biggerData" width="350" emphasis="emphasized" 
+					<j:DataGrid id="biggerData" emphasis="emphasized" 
 								dataProvider="{listModel.dgBiggerRowData}">
 						<j:columns>
 							<j:DataGridColumn label="Name" dataField="name" columnWidth="90" />
@@ -487,15 +487,14 @@ limitations under the License.
 			</j:Card>
 		</j:GridCell> -->
 		
-		<!-- <j:GridCell desktopNumerator="1" desktopDenominator="2" tabletNumerator="1" tabletDenominator="2" phoneNumerator="1" phoneDenominator="1">
+		<j:GridCell desktopNumerator="1" desktopDenominator="2" tabletNumerator="1" tabletDenominator="2" phoneNumerator="1" phoneDenominator="1">
 			<j:Card>
 				<html:H3 text="Jewel DataGrid"/>
 				
 				<j:Label text="width = 100%, no column widths, rowHeight=42 and emphasis='secondary', middle column has center alignment, last column has columnWidth=40. Clicking on row icon, remove the entire row."
 					multiline="true"/>
 
-				<j:DataGrid width="100%" height="240" emphasis="secondary" rowHeight="42"
-					change="dataGridChange(event.target as DataGrid, datagrid3_lb)">
+				<j:DataGrid width="100%" height="240" emphasis="secondary" rowHeight="42">
 					<j:beads>
 						<js:ConstantBinding
 							sourceID="listModel"
@@ -536,7 +535,7 @@ limitations under the License.
 					</j:columns>
 				</j:DataGrid>
 			</j:Card>
-		</j:GridCell> -->
+		</j:GridCell>
 
 	</j:Grid>