here ya go
override public function set data(value:Object): void {
// drag and drop can call this with a 'string' value (i.e. no xml element tags)
so that is odd
_data = value;
trace ('Column1.mxml:: set: ' + text);
draw();
dispatchEvent(new Event("dataChange"));
}
[Bindable(event="dataChange")]
override public function get data(): Object {
//trace ('Column1.mxml:: get: ' + text); // very 'noisy' trace here
return _data;
}
----- Original Message ----
From: mr_j_harris <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, January 28, 2008 4:44:28 PM
Subject: [flexcoders] DataGrid itemEditor displaylag
Cairngorm... data provider to the grid is an ArrayCollection.
Adding items to the list works, databinding operates, things look OK.
http://budgetapp- uat.gameteamlead .com/bin/ demonstrate_ datagrid_ itemEditor_
displaylag- debug.html
Editing items in the list, not so much.
Like it says on the screen:
This test program shows a Flex DataGrid dataBinding failure.
Click Add LineItem a few times.
Then edit one or two of the items.
Your edits only appear visually after sorting on column 1.
Putting a breakpoint on the MouseUp code and inspecting the
model.ModelLocator shows the data is in there, but it's not on screen.
Click View source to see the fancy code.
H A Y U L P !!!
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping