AW: [flexcoders] Re: update Datagrid but stay in edit mode (Flex 1.5)

2006-04-24 Thread Thomas Ott
, 2006 3:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: update Datagrid but stay in edit mode (Flex 1.5) if you want to set focus on an editable cell, just use focusedCell property. eg dg.focusedCell = {itemIndex:1, columnIndex:1} --- In flexcoders@yahoogroups.com, Thomas Ott

[flexcoders] update Datagrid but stay in edit mode (Flex 1.5)

2006-04-20 Thread Thomas Ott
Hi everyone I have a Datagrid with editable cells. Pressing tab or enter key while editing a Cell, calls the function updateTotal which calculates other non-editable fields in the grid and updates the dataProvider. The problem is now, that the non-editable values dont show up in the

Re: [flexcoders] Custom itemrenderer in datagrid

2006-04-20 Thread Thomas Ott
hi I did it like this: setValue (str:String, obj:Object):Void { var col:DataGridColumn = listOwner.getColumnAt(columnIndex); var itemProperty = obj[col.columnName]; . } you got to define listOwner and columnIndex in the cellRenderer Class Thomas --