WelcomeForumsCommunityWijlist and wijtabs together

Wijmo Team Member
jprovan posted on November 5, 2012 at 4:19 pm link

I’m trying to use X number of wijtabs, each containing one wijlist. The requirement is to display a list on each tab, with the goal of selecting an item on a list. clicking an arrow will add the selected item to another box. The goal is to be able to add X numbers of these items from any tab.

With one wijlist, this works perfectly, but any more than one causes big glitches such as invalid selections, selection not working at all, and wijlists not appearing. I’m guessing because i’m overlapping them ontop of one another.

Do you have any suggestions on the best way of handling this?

Also, How can I get the current selected item from the drop down list (also accounting for the tab that’s selected)?

Thanks in advance :)

Wijmo Team Member
Richa posted on November 6, 2012 at 10:32 am link

Hello jprovan,

As per my understanding, you want to add the selected items of different lists to a single list on click on the button. Please refer to the attached sample for this.

In case you wish to get the current selected item of any wijlist, you can get that in the selected event as :

list.wijlist({
  selected: function (event, ui) {
      var selecteditem = ui.item;
  }
});

Let me know if I have misunderstood your query.

Thanks,
Richa

Answer

This topic has 2 voices, contains 1 reply, and was last updated by  Richa 526 days ago.

You must be logged in to reply to this topic.