flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OK <p...@olafkrueger.net>
Subject Re: Spark DataGrid editable problem
Date Wed, 14 Sep 2016 11:55:18 GMT
I never tried to use the spark datagrid on mobile but maybe this works [1]?

HTH,
Olaf


[1]: Set each column 'editable'
...
<fx:Declarations>
	<s:ArrayCollection id="myData">
		<s:DataItem name="One"   price="100"  />
		<s:DataItem name="Two"   price="200" />
		<s:DataItem name="Three" price="300" />
	</s:ArrayCollection>
</fx:Declarations>
...

<s:DataGrid id="dataGrid" dataProvider="{myData}" editable="true"
width="90%">
	<s:columns>
		<s:ArrayList>
			<s:GridColumn dataField="name" editable="true"/>
			<s:GridColumn dataField="price" editable="true" />
		</s:ArrayList>
	</s:columns>   
</s:DataGrid>

...



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Spark-DataGrid-editable-problem-tp13537p13542.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message