Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Deleting item from external listview

$
0
0

I have a listview on list.js /list.xml. when the user clicks on an item, he gets to a details page details.js.

how can i delete the clicked item from the listview when the user has voted (got a rest response) on the details page? how can i target/delete an item from the external "newListView"?

list.xml

<ListView id="newListView" defaultItemTemplate="plainTemplate">
    <Templates>
        <ItemTemplate id="plainTemplate" name="plainTemplate">
            <View id="itemContent" class="listRowImageText" bindId="d_one">
                    <ImageView class="listViewThumbnail" bindId="d_two"/>
                        <Label class="listViewText" bindId="d_three"/>
                </View>
        </ItemTemplate>
    </Templates>
    <ListSection id="newListViewSection"/>
</ListView>
thx for any suggestions.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>