简体   繁体   中英

Flexicious - Close itemEditor

I got a very stupid problem which I just can't resolve : I want to close an item Editor in my FlexDataGrid from Flexicious .

Indeed, when I hit the Enter key, I enter my itemEditEndHandler function, but then the itemEditor don't close (however it close correctly when hitting Escape or Tab key). I was first thinking to use a method like datagrid.destroyItemEditor() (like with the common datagrid...) but there isn't any obvious methods or way to close it !!!

sadly, there isn't a lot of doc for the FlexDataGrid from Flexicious :'(

Did anybody already have meet this problem ? Do you know some good way to force the closing of the itemEditor ?

Thanks

Try grid.bodyContainer.endEdit(grid.bodyContainer.getCurrentEditor()). We will add destroyItemEditor to the next release.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM