SelectedItems in List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
SelectedItems in List
Hi. Can anyone explain me how SelectedItems in list widget works?
I have a list with severals items in it, so i need to select some default values and i can't figure out how to set the selected items; I know the widget has a "SelectedItems" option, but it doesn't work.
Thank You in Advance.
- Labels:
-
Mashup-Widget
- Tags:
- developer
- list widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Selecteditems should have an infotable input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, Gautham. Thanks for the answer.. I know it needs an infotable.. Actually I pass an infotable as a parameter but it doesn't select the items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If your infotable returns more than one row, try checking the MultiSelect option .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Janet. Thanks for the reply. It already has the MultiSelect option checked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Eddison,
From what I understand, you have a service that returns an infotable . And you want to auto select those rows in the List widget.
You could achieve that by just binding All Data from your service (QueryJustTwo in my example)to the SelectedItems of the List Widget.
- Test the service to check if it returns the correct rows
- And make sure the rows match the ones already listed in the List widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Janet. As soon as i test your solution. I'll reply. Thans.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, Janet.. Sry for the late response (few months i guess) but i didn't keep working on that until now.. I realize that the selectedItems works perfectly, but in my case the list with the options and the list with the selected options are sent to a navigation widget in a modal popup and when it loads, does nothing.. Do you have any idea the cause of this? Thanks.
