Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Occasional Contributor
Posts: 14
Registered: ‎04-14-2016
Accepted Solution

Combo box geospatial sdk

[ Edited ]

Is there any way that i create a combo box in toolbar of geospatial portal? Even better solution is to create a button on toolbar, and with function of this button to open window with more combo boxes?

Technical Evangelist
Posts: 908
Registered: ‎09-11-2015

Re: Combo box geospatial sdk

Hi Mladen,

 

You can use ExtJS objects to build such control, namely:

  • Ext.Window
  • Ext.form.ComboBox

See some samples here: http://docs.huihoo.com/extjs/2.3.0/examples/samples.html

NOTE: This is not official ExtJS site, their samples page for version 2.3.0 is no longer available.

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Regular Contributor
Posts: 169
Registered: ‎08-10-2016

Re: Combo box geospatial sdk

I am trying to do something like this...

	var combobox = new Ext.form.ComboBox({
		//construct combobox
	});
	
	$GP.ui.toolbar.add({
        categoryIndex: 0,
		xtype: combobox
        //text: "Select Item",
        handler: function (b) {
            //handle selection
        }
    });

How should i add the combox to the toolbar? 

 

I need something like the language selector...

 

portal.png

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.