1 Reply Latest reply on Dec 5, 2008 12:51 PM by rtalton

    Removing a record from an XML based datagrid

    rckehoe
      Hey... I am not sure how to remove a record from an XML based datagrid without re-loading the whole datagrid...

      I have a datgrid called contact_list, and it's data provider is set to {GetContacts.lastResult.root.contact}. I want to be able to remove a record from the list instantly. I don't care about actually deleting the record from the XML file itself...

      Is there an easy way to remove a record from a datagrid without having to reload the XML content?

      I know how to remove a record from a datagrid if the datagrid was loaded using an array... I think it's the removeItemAt function... But will this same function work for my datagrid that is loaded through an XML Object, if so... then how?