Results 1 to 7 of 7

Thread: CheckBoxGroup - Not able to read alias in formpanel in ext-6.5.2-trial

  1. #1
    Sencha User
    Join Date
    Nov 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default CheckBoxGroup - Not able to read alias in formpanel in ext-6.5.2-trial

    Hi,

    I am not able to use checkboxgroup - XTYPE in formpanel as it throws the below error:

    Uncaught Error: [Ext.createByAlias] Unrecognized alias: widget.checkboxgroup
    at Ext.Inventory.instantiateByAlias (ext-modern-all-debug.js?_dc=1512406539624:10271)
    at Object.factory (ext-modern-all-debug.js?_dc=1512406539624:6485)
    at constructor.factoryItem (ext-modern-all-debug.js?_dc=1512406539624:59066)
    at constructor.add (ext-modern-all-debug.js?_dc=1512406539624:59102)
    at constructor.applyItems (ext-modern-all-debug.js?_dc=1512406539624:58962)
    at constructor.setter [as setItems] (ext-modern-all-debug.js?_dc=1512406539624:7265)
    at Ext.Configurator.configure (ext-modern-all-debug.js?_dc=1512406539624:7770)
    at constructor.initConfig (ext-modern-all-debug.js?_dc=1512406539624:8716)
    at constructor (ext-modern-all-debug.js?_dc=1512406539624:14369)
    at constructor (ext-modern-all-debug.js?_dc=1512406539624:32419)



    Please let me know if required any other information.

    Thanks,
    Ravi Gopalani

  2. #2
    Sencha Premium User twaindev's Avatar
    Join Date
    Sep 2009
    Posts
    233
    Vote Rating
    8
      0  

    Default

    You're using the Modern Toolkit and according to the docs there is no CheckBoxGroup in the MT.

  3. #3
    Sencha User
    Join Date
    Nov 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Hi,

    Can you please let me know what is the alternative approach in order to achieve checkboxgroup feature?

    Thanks,
    Ravi Gopalani

  4. #4
    Sencha Premium Member danguba's Avatar
    Join Date
    Feb 2009
    Location
    Kragujevac, Serbia
    Posts
    439
    Vote Rating
    225
      0  

    Default

    Use classic toolkit
    All Best
    ---
    Željko Mitrović
    http://skitanja.blogspot.com/

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding

  5. #5
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,060
    Vote Rating
    1389
      0  

    Default

    Or keep with modern and explain why you think you need a checkboxgroup? Is there a function the checkboxgroup does that you are actually needing or are you just using it to layout your checkboxes?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  6. #6
    Sencha User
    Join Date
    Nov 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Hi Mitchell,

    I am actually trying to achieve the multiselection of check boxes behavior using checkboxgroup within the specified container having scrollable effect. Please refer the attached screen shot. Waiting for your reply.

    region.png


    Thanks,
    Ravi Gopalani

  7. #7
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,060
    Vote Rating
    1389
      0  

    Default

    If you are just needing them laid out like that, it's a simple container using hbox layout for each column of checkboxes, no need to need a checkboxgroup container.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Similar Threads

  1. Replies: 0
    Last Post: 10 Apr 2011, 11:31 PM
  2. Replies: 1
    Last Post: 23 Aug 2010, 8:30 AM
  3. Replies: 1
    Last Post: 7 Jul 2009, 2:21 AM
  4. Help in read formpanel
    By jamesjara in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 17 Apr 2009, 6:09 PM

Posting Permissions

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