Hi All,
First let me explain my problem clearly.I am
facing the problem
with refreshing datagrid for add,update,delete operations.
For adding task(todo app) i am using another
mxml component
(PopUpwindow).when i do add,delete or update, changes are happening
in database pakka and fine.There is no error in
that.Only problem
is when i add or delete or update a task, datagrid has to
get refresh with the updated or new data.Then
only from ui user
will know that he added a task or deleted a task etc right.
sometimes it's refreshing fine and sometimes
not.If it doesn't
refresh at all times i can think of my logic.But if it's
happening sometimes and sometimes not.
after add or delete or update am using below 5
lines of code to
refresh datagrid.
getList.send(); //sending request again to load
new data using
httpservice.
datagrid.dataProvider = resultList;
//resultList is bindabale
ArrayCollection variable.
resultList.refresh(); //this line not all
giving any changes.i
think it's not working
datagrid.validateDisplayList();
datagrid.validateNow();
Thanks & Regards,
Srinivas.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---