Prevent focus out of datagrid cell?


hi,
can't figure 1 out. have datagrid itemeditend bound function "erorrcheck" checks correctness of value entered in cell. if value not allowable, need focus prevented leaving cell.

i tried these 2 method solve problem, neither worked:
1) if value entered isn't allowed, @ end of function "errorcheck" datagrid's editeditemposition used.
2) "editerror" flag set in function "errorcheck". function "forcecursor" bound datagrid's item_focus_out event. in "forcecursor" function, "editerror" flag checked error, , if "true", datagrid's edititemposition used.

one problem have found may compounding ability find solution itemeditend triggered twice when user tabs out of 1 cell. what's going on that?



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62