flex: cant edit item in Datagrid with override set data method
-
19-09-2019 - |
Question
I've a custom itemRenderer for my datagrid. To set the actual data I use the following method:
override public function set data(side:Object):void{
...
}
As soon as I use this function the cell doesn't show up any item Editor anymore. Why is that? When I remove this function the itemEditor is working but with the wrong initialization data...
What's the proper way to handle this?
Thanks, Markus
Solution
Have u called 'Super' on that method ?
OTHER TIPS
Make sure that you also have an itemEditor that is correctly working or that you set the rendererIsEditor property to true and use the renderer as the editor.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow