# Additem

**URL:** <https://forum.kirupa.com/t/additem/241920>\
**Category:** Uncategorized\
**Created:** [October 19, 2007, 12:30pm UTC](https://forum.kirupa.com/t/additem/241920 "2007-10-19T12:30:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![owelowe](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@owelowe](https://forum.kirupa.com/u/owelowe)\
**Post date:** [October 19, 2007, 12:30pm UTC](https://forum.kirupa.com/t/additem/241920/1 "2007-10-19T12:30:30Z")

</div>

I have this code and use it to move info from a datagrid, but when i display it in a list component it dosent ad to the last added item but it replaces them all, how can i make it add to the list in the dataset? and how can I add multipled selected items in the datagrid???  
is there a waY?

```auto

btn_valja.onRelease = function(){
    DS_lista.addItem({vaxt:theList.selectedItem.SvensktNamn});
}

```
