EasyUI Forum
November 04, 2025, 10:54:32 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 mousepointer  (Read 12507 times)
sky-t
Full Member
***
Posts: 145


View Profile
« on: November 21, 2016, 01:43:08 PM »

Hi there,

is there a possibility to have the hand pointer when moving the mouse over combobox entries?
Would look nicer, i think.



Thanks
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: November 21, 2016, 05:06:46 PM »

No, the editable combobox should have the text cursor on the inputing box.
Logged
sky-t
Full Member
***
Posts: 145


View Profile
« Reply #2 on: November 21, 2016, 11:31:49 PM »

ah, okay - and what's about non-editable comboboxes? Is there a chance to show hand mousepointer?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 on: November 22, 2016, 03:35:40 AM »

Please add this code to your page.
Code:
<style type="text/css">
.combo .validatebox-readonly{
cursor: pointer;
}
</style>
Logged
sky-t
Full Member
***
Posts: 145


View Profile
« Reply #4 on: November 23, 2016, 12:14:19 AM »

Thanks stworthy,

but this just works with the selected entry. The entries in the list have the texting mousepointer.
Is the a chance to use hand mousepointer also for the entries in the list?


Thank you very much
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #5 on: November 23, 2016, 12:23:10 AM »

You can override the 'combobox-item' class with 'cursor:pointer' style.
Code:
<style type="text/css">
.combo .validatebox-readonly{
cursor: pointer;
}
.combobox-item{
cursor: pointer;
}
</style>
Logged
sky-t
Full Member
***
Posts: 145


View Profile
« Reply #6 on: November 23, 2016, 01:42:05 AM »

This is working fine! Awesome!!

Thank you stworthy!
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!