www.teamdev.com
2 Replies Last post: Jul 30, 2008 4:33 PM by Ilya Musihin  
Click to view quickpick's profile   3 posts since
Jun 7, 2008

Jul 24, 2008 1:31 AM

q:twoListSelection disable remove

Is there a way to prevent a user from removing certain items in the right list part of q:twoListSelection component?

I'd image there would be few ways to do this:

1. Disable the item in the right list so that user cannot select it.
2. Disable the remove button when user select that item
3. When user clicks the remove button return false from onclick() when that item is selected.

I don't know a way to do any of those in quipukit.

Thanks!
Click to view Ilya Musihin's profile TeamDev Ltd. 24 posts since
May 22, 2008
1. Jul 24, 2008 6:49 PM in response to: quickpick
Re: q:twoListSelection disable remove
Hello,

We will investigate the information you have provided and let you know about the results as soon as possible.

Sincerely,
Ilya Musihin
Click to view Ilya Musihin's profile TeamDev Ltd. 24 posts since
May 22, 2008
2. Jul 30, 2008 4:33 PM in response to: quickpick
Re: q:twoListSelection disable remove
Hello,

According to the documentation you can use itemDisabled attribute which indicates whether the item is disabled. If an item is disabled, the user cannot move it to the other list. Note that disabled items can be present in both lists.

Sincerely,
Ilya Musihin