Rank: Member Groups: Member
Joined: 9/9/2008 Posts: 7
|
Hi,
On a page i have a listbox, an eo:grid and a button. Listbox contains a list of users. A user is selected from the listbox (multiple selection is allowed) and on clicking on the button, the grid should be populated with the user name and his email with a Remove button. I have written a query which will fetch the user name and email in a DTO. An arraylist contains the DTOs. How should I populate the grid with the values???
Thanks, Rashmi
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, This page contains detailed information about how to populate the Grid: http://www.essentialobjects.com/ViewDoc.aspx?t=Grid%2fdata_binding.htmlYou can also call this method to create a single GridItem: http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.Grid.CreateItem.htmlThen call Grid.Items.Add to add that newly created item into the Grid's item collection. Thanks
|