EasyUI Forum
April 28, 2024, 03:35:49 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 ... 5 6 [7]
91  General Category / EasyUI for jQuery / Re: Easy UI for Offline Use on: September 03, 2017, 05:01:04 PM
unzip and configure local nginx or simpleHTTPd

for nginx start working:
Code:
net start nginx
cd folderWithAPP
index.html

stop working:
Code:
net stop nginx

92  General Category / EasyUI for jQuery / [SOLVED] Different Style for dropdown values of Grouped combobox on: September 03, 2017, 04:52:20 PM
in one page I have two combobox:

Code:

  A: <input id="dgFilterA" class="easyui-combobox" style="width:200px" data-options="editable:false, onChange:dgFilterOnChange, url:'//ajx.$DOMAIN/?vg&s=sv&auth=$AJX_AUTH', method:'get', valueField:'ID', textField:'Name', groupField:'Owned', formatter: fmtComboFilterA, panelHeight:'auto', multiple:true, cls:'fltA'">

  B: <input id="dgFilterB" class="easyui-combobox" style="width:230px" data-options="editable:false, onChange:dgFilterOnChange, url:'//ajx.$DOMAIN/?vg&s=sl&auth=$AJX_AUTH', method:'get', valueField:'ID', textField:'Name', groupField:'Group', formatter: fmtComboFilterB, panelHeight:'auto', multiple:true, cls:'fltB'">


for filter B I dont need Name of group, so I`m in my css file do:
Code:
.combobox-group {
    /* display: none; */
    border-top: 1px solid silver;
    font-size: 0;
    padding: 0;
}

but this code hide GroupCaption and for FilterA Sad

cls property is set value of class only to
  <span class="textbox combo" ...
and  not to
  <div class="panel combo-p panel-htop" .....

How I do it?
93  General Category / EasyUI for jQuery / [SOLVED] Change option 'required' dynamically - redraw visual style of component on: April 01, 2017, 04:56:50 PM
Thnx, its worked!
94  General Category / EasyUI for jQuery / [SOLVED] dynamically change option 'required' on: March 31, 2017, 12:06:18 AM
in html:

Code:
 <input id="iCheck" 
    class="easyui-switchbutton"
    data-options="onChange:iCheckChange"
 >
 <input id="iCombo"
    class="easyui-combobox"
    data-options="mode:'remote'
                , disabled: true
                , required: false
                , loader: ...
                "
  >
in script

Code:
function iCheckChange(aChecked){
  $('#iCombo').combobox(aChecked?'enable':'disable').combobox('options').required = aChecked;
};

Code: https://jsfiddle.net/0dbog4of/4/

How change style dynamically?
Pages: 1 ... 5 6 [7]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!