How can I use wjItememplate in MultiSelectListBox

Posted by: viethdhe130200 on 10 July 2022, 2:18 pm EST

  • Posted 10 July 2022, 2:18 pm EST

    In Input wijmo if I use ListBox, I can custom checkbox inside ListBox by this way:
    <ListBox
    initialized = {....}
    itemSource = {...}
    .....
    wjItemTemplate = {I wil custom checkbox here!}
    />

    Now I want to add checkboxAll for my ListBox. Document's wijmo suggests I use MultiSelectListBox. But, when I use MultiSelectListBox, I can't use wjItemTemplate inside this :
    <MultiSelectListBox
    initialized = {....}
    itemSource = {...}
    .....
    wjItemTemplate = {I wil custom checkbox here!} //Not working :((
    />

    So, how can I use wjItemTemplate in MultiSelectListBox. I hope anyone helps me in this case. Thank you very much!!!
  • Replied 10 July 2022, 4:03 pm EST

    Hello,

    You may refer to the sample link below demonstrating, how to use wjItemTemplate in MultiSelectListBox:

    https://stackblitz.com/edit/angular-srpaye?file=src%2Fapp%2Fapp.component.html

    Please let us know in case you face any issues in the implementation.

    Regards
  • Replied 13 July 2022, 1:07 pm EST

    Thanks for your answer. But, can you demo with React?
  • Marked as Answer

    Replied 12 July 2022, 10:42 pm EST

    Hello,

    We apologize for the delayed response, it seems that the issue is specific to React framework and seems to be a bug therefore we have reported the issue to our Dev team for further investigation of the issue with an internal tracking ID WJM-24463. We will provide you with an update on this as soon as we get any response.

    Sorry for the inconvenience.

    Regards
  • Replied 2 August 2022, 12:49 pm EST

    Thank you so much, sonu.pandey.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels