this grid. If a datagrid where to have 5 items, and the user selected
the 3rd item and hits delete, it removes the first item in the
datagrid instead of the selected item.
partyDG.dataProvider.removeItemAt(agentDG.selectedItem) should remove
it at the selectedItem, but it always removes it from the datagrid at
the top. However it does not delete it from the database, just removes
it from the display.
Is there anyway I can fix this.
Here is my function.
// DELETE PARTY FUNCTIONS
public function DeletePartyModdeletePartyQry(fileNum, id, ptype){
DeletePartyMod.deletePartyQry(fileNum,id,ptype);}
public function DeletePartyModdeletePartyQryResult(result){
partyDG.dataProvider.removeItemAt(agentDG.selectedItem)
}
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.