Hi Warren,

I'm trying the following in TDJ datasort example (the one with
localId="dg2"), and I can reproduce what you said:

private function updateSelectedItem():void
{
var selectedProduct:Product = (dg2.dataProvider as
IArrayList).getItemAt(dg2.selectedIndex)
as Product;
selectedProduct.title = "NEW-" + (Math.random()*100);
productModel.productList.itemUpdated(selectedProduct);
}

the DG is this :

<j:DataGrid localId="dg2" width="100%" height="100%"
dataProvider="{new ArrayListView(productModel.productList)}"
change="lb2.html = describeItem(event.target.selectedItem)">
<j:beads>
<j:DataGridColumnLabelsChange/>
<j:DataGridSort/>
</j:beads>
<j:columns>
<j:DataGridColumn label="Title" dataField="title"/>
<j:DataGridColumn label="Sales" dataField="sales"/>
</j:columns>
</j:DataGrid>

<j:Label localId="lb2" html="DataGrid selection will be shown here"/>

<j:Button text="CHANGE TITLE" click="updateSelectedItem()"/>

(just added the button below)

so if I don't sort, the change can be seen, but when I do a sort and do a
change the change is not reflected.

going to see what could be the problem

Thanks


El dom, 20 dic 2020 a las 3:28, Piotr Zarzycki (<[email protected]>)
escribió:

> Any error in browsers console?
>
> On Sat, 19 Dec 2020 at 23:14, wkoch <[email protected]> wrote:
>
>> I downloaded the latest nightly build.  I guess there were a lot of
>> changes
>> since 10/26.  It completely killed my application.  grids, lists, etc.
>> gone,
>> most other functionality gone.  So it looks like I'm stuck at a specific
>> build. Luckily I kept a copy of the old SDK
>>
>>
>>
>> --
>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>
> --
>
> Piotr Zarzycki
>


-- 
Carlos Rovira
Apache Member & Apache Royale PMC
*Apache Software Foundation*
http://about.me/carlosrovira

Reply via email to