EasyUI Forum
April 19, 2024, 11:24:58 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: combobox dropdown direction  (Read 3901 times)
sectioni
Jr. Member
**
Posts: 67


View Profile
« on: November 13, 2018, 09:49:38 AM »

Hi,

How can i make it so that the dropdown would always open below the combobox, even when it's at the bottom of the page?
I have a border surrounding the top,right,left parts of the combobox, and a border surrounding the bottom,left,right parts of the dropdown, so that it would create a single border around both elements.

And if it opens above, it creates a problem..
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: November 18, 2018, 12:54:33 AM »

Please set the 'panelValign' property to 'bottom'. Make sure to download the newest version from https://www.jeasyui.com/download/v16.php
Logged
sectioni
Jr. Member
**
Posts: 67


View Profile
« Reply #2 on: November 22, 2018, 11:13:31 AM »

Works very well, thanks.

There is one improvement you can make (if possible) -
If the panelValign is set to 'bottom' and the combobox is at the bottom and I open it and i need to scroll down to see all the options, once I start scrolling with my mouse wheel or the scrollbar, the dropdown closes.
It would be helpful if it could stay open.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!