Dear All,
I got a problem with checking field in datagrid
check function uses remoteobject , validate data from database when
itemeditend event
it takes a time to check a data about 1 or 2 seconds
but click or focus event is faster than resulthandler of remoteobject
so I need a time delay function in flex. for 1 or 2 sec
//
editEndHandler(event:DataGridEvent)
{
..
..
..
click_col = evetn.columnIndex;
click_row = grid.selectedIndex;
chkfunction(TextInput(event.currentTarget.itemEditorInstance).text)
if(!flag)event.preventDefault();
}
chkfunction(data:string)
{
remoteobject sending
}
resulthandler(event:reusltevent)
{
if(event.result = 'N')
{
flag = false;
}
else
{
flag = true;
}
}
Help me
Regards,
e00930
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---