Hi guys, i hope u can help me. Im trying to get the code in flex for deleting a row in s grid that i have using the applyedits but i cannot. How can i do that? Thx 🙂
Solved! Go to Solution.
Hi Evelyn,
You wish to delete the features from the feature class or spark control datagrid?
If its the from the feature class then simple pass an array of graphics(each graphic must contain a valid objectid) as the third parameter
in the applyEdits method.
myFeatureLayer.applyEdits(null,null,deleteGraphicsArray,new AsyncResponder(onResult,onFault));
Regards,
Nigel.
Hi Evelyn,
You wish to delete the features from the feature class or spark control datagrid?
If its the from the feature class then simple pass an array of graphics(each graphic must contain a valid objectid) as the third parameter
in the applyEdits method.
myFeatureLayer.applyEdits(null,null,deleteGraphicsArray,new AsyncResponder(onResult,onFault));
Regards,
Nigel.
Yes thanks Nigel as always.
I already resolve my problem using ur suggestion long ago
Thumbs up
Regards,
Nigel