Jump to content


Photo

ComboBox multi select - pure extjs


  • Please log in to reply
10 replies to this topic

#1 mohammad

mohammad

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 690 posts
  • LocationKufur Kassem, Palestine

Posted 08 October 2017 - 09:34 AM

Hi,

 

Online: http://5.189.151.122:8866/

 

Project: http://3msoft.net/mhmd/chosenCombo.rar

 

Hope this will help you...

cn1.png

 

cn2.png

 

cn3.png

 

cn4.png

 

cn5.png


  • 3

#2 SBokhari

SBokhari

    Member

  • Members
  • PipPip
  • 16 posts

Posted 08 October 2017 - 10:21 AM

A.O.A Mohammad,

 

Great share as always.

 

Do you have multi-column DB and non-DB aware combo box? If possible a combo box with embedded UniFrame or UniDBGrid, etc.

This will be a great share.

 

Best regards


  • 0
Project Manager at SyedTech.
Love Delphi and now UniGUI too.
 
Found of fishing and research in software development.
Can't stop myself to listen to favorite all-times hit music.

#3 mohammad

mohammad

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 690 posts
  • LocationKufur Kassem, Palestine

Posted 08 October 2017 - 10:44 AM

All happen in client side, so you can treat it as 'db' OR 'non db' :-)

 

It's extend the 'panel' to do the job:

Ext.define('Ext.ChosenWidgetContainer', {
    extend: 'Ext.panel.Panel',
    alias: 'widget.chosenwidgetcontainer',
    constructor: function (cnfg) {
        this.callParent(arguments);
        this.initConfig(cnfg);
    },
	margin: 0,
	padding: 0,
...
...
...

  • 0

#4 Eduardo Belo

Eduardo Belo

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 132 posts
  • LocationBrazil

Posted 08 October 2017 - 12:28 PM

Congratulations, great job.


  • 0

#5 _Mehmet_

_Mehmet_

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 493 posts
  • LocationAntalya / Turkey

Posted 09 October 2017 - 06:46 AM

thanks mohammad


  • 0

#6 lucas.dolberth

lucas.dolberth

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 28 October 2017 - 11:21 AM

Very good Congratulations!

Mohammad, I have 3 doubts:

1- How to return the selected values? For example: I selected "Madrid" and "Dubai", how can I go through this list and check which items have been selected?

2- How to insert items dynamically in the list? Let's say I need to go into the database, make a query and return the result of that query to mount the checkbox options?

3- When I click Edit, if the list with the options is not open, it opens. If I click Edit, and the list is open, it closes and returns to its original size. Can you make the list return to its original size by clicking outside the edit within the panel?

Thank you very much.


  • 0

#7 Tuan

Tuan

    Member

  • Members
  • PipPip
  • 25 posts

Posted 02 November 2017 - 10:19 AM

Mohammad, thank you very much.


  • 0

#8 mmurgas

mmurgas

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 96 posts

Posted 13 November 2017 - 06:47 PM

wow! excelent


  • 0

#9 Freeman35

Freeman35

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 217 posts

Posted 18 November 2017 - 07:40 AM

Has problem on Firefox 57. I mean combobox not open on in, so can not view any text.

Just let you know.


  • 0

#10 mohammad

mohammad

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 690 posts
  • LocationKufur Kassem, Palestine

Posted 18 November 2017 - 07:51 AM

Thanx I will check it...


  • 0

#11 perjanbr

perjanbr

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 88 posts
  • LocationCianorte-PR Brazil

Posted 18 November 2017 - 01:29 PM

Firefox Quantum has problem.


  • 0

Jancarlos Martins





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users