Answered by:
Multi select in Lightswitch Html Client

Question
-
Hello to all,
i'm trying to look for a sample code or project with multi-selection listbox or with checkbox in Lightswitch HTML client but haven't found any. I hope someone out there willing to help, it would be so great and really appreciated.
Many thanks
John
Tuesday, June 25, 2013 7:32 PM
Answers
-
Take a look at the blog post we added to the LightSwitch site today regarding multi-select in a list using the JQuery Checkbox control. The sample should be easy enough to understand where to swap out custom controls if you want more touch friendly ones.
Hope this helps,
Mike Droney
- Proposed as answer by Xpert360 Monday, July 15, 2013 9:10 PM
- Marked as answer by Amy PengMicrosoft employee, Moderator Wednesday, July 17, 2013 9:42 AM
Monday, July 15, 2013 8:16 PM
All replies
-
You'll need to include a custom control on your screen, since the HTML client only has the flip-switch as the SL equivalent of the check-box.
The check box is not too fat finger friendly so it's more jQuery UI-ish than mobile-ish. A nice 3rd party control to use is found at jQxWidgets jqxtree. These controls are free and very easy to use; I like them a lot.
Wednesday, June 26, 2013 5:22 PM -
Thanks for this info, I will try, since I'm new to lightswitch and still learning, can you share a sample code in the custom control with jqxtree. I really appreciate it.
Many Thanks
Tuesday, July 2, 2013 6:54 PM -
Take a look at the blog post we added to the LightSwitch site today regarding multi-select in a list using the JQuery Checkbox control. The sample should be easy enough to understand where to swap out custom controls if you want more touch friendly ones.
Hope this helps,
Mike Droney
- Proposed as answer by Xpert360 Monday, July 15, 2013 9:10 PM
- Marked as answer by Amy PengMicrosoft employee, Moderator Wednesday, July 17, 2013 9:42 AM
Monday, July 15, 2013 8:16 PM