Results 1 to 2 of 2

Thread: How to do menu with variable numbers of items

  1. #1
    Sencha User
    Join Date
    May 2015
    Posts
    8

    Default How to do menu with variable numbers of items

    Hello

    I want to do a splitbutton. In my button, I want as much checkbox than I load person.

    If I load 3 persons ( Mickael, Kevin and Laura ) I want in other page 3 checkbox, 1 by person.
    If I load 15 persons I want 15 checkbox.


    I don't know how we do that, and I don't find exemple.

    Can you help me? Give me a little exemple?

    Thank you

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I suppose you'd have to use the handler on each menu item to add() a checkboxfield to you form for each person selected.

Similar Threads

  1. ExtJS 4.2.x Menu Items (extra space before menu items)
    By arnoldvillasanta in forum Ext:Bugs
    Replies: 7
    Last Post: 8 Jul 2014, 3:16 PM
  2. Replies: 1
    Last Post: 29 Jul 2013, 12:40 PM
  3. Dynamic numbers of items (checkboxes) in checkboxgroup
    By paweluz in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 23 Jun 2010, 8:27 AM
  4. Mouse click does not work on menu items(when menu is rendered as context menu)
    By anilcs0405 in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 3 Aug 2009, 5:55 AM
  5. context menu --> how to get a passed variable without creating the menu new?
    By chrizmaster in forum Ext 2.x: Help & Discussion
    Replies: 11
    Last Post: 17 Apr 2009, 7:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •