EasyUI Forum
May 11, 2024, 01:57:05 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 / General Discussion / Re: datagrid with 'view: scrollview' didnot fire onLoadSuccess :( on: February 13, 2018, 03:51:29 AM
FANTASTIC! Wink

newly downloaded https://www.jeasyui.com/easyui/datagrid-scrollview.js same as oldes
(file compare dont show any differences)
but with newest lib ALL WORK!

may be high water in sea of tranquility on the moon prevented me Smiley

Thanx!
92  General Category / General Discussion / [SOLVED] datagrid with 'view: scrollview' didnot fire onLoadSuccess :( on: February 11, 2018, 08:47:30 PM
All simple

Code:

<table id="dgData" class="easyui-datagrid" style="width:99%;height:100%"
toolbar="#dgDataToolbar"
url="//ajx.localhost/?getData"
idField="txID" fitColumns="true" singleSelect="true"
data-options="border:false
, view: scrollview
, autoRowHeight: false
, rownumbers: false
, pageSize: 50
, filterDelay: 800
, remoteFilter: true
, filterPosition: 'top'
, onSelect:function(index,row){ dgDataSelect(index,row) }
, onLoadSuccess:function(){ dgDataRowsLoad() }
, onDblClickRow:function(){ dgDataOpen(index,row) }
, onLoadError:function(){ dgLoadError() }
"
>




in js:

Code:
 function dgDataRowsLoad(){
    console.log( "rows loaded!" );
 };

Data row loaded from server and showed, but event didnot fire Sad

ANY HELP, please Smiley
93  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

94  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?
95  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!
96  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!