EasyUI Forum
May 13, 2024, 09:11:14 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 2 3 [4] 5 6 ... 239
46  General Category / EasyUI for jQuery / Re: form with external input on: October 26, 2019, 08:30:42 PM
The form field components have no 'form' property, they must be moved to the <form> element.
47  General Category / EasyUI for jQuery / Re: Combobox Virtual Scroll - Lazy Loading on: October 26, 2019, 08:27:43 PM
Please use the combogrid instead, the combogrid can be bound with scrollview.
48  General Category / General Discussion / Re: datebox: formatter operates on current date, not selected date on: October 26, 2019, 08:25:06 PM
Please refer to this example https://www.jeasyui.com/demo/main/index.php?plugin=DateBox&theme=material-teal&dir=ltr&pitem=Date%20Format&sort=asc
49  General Category / EasyUI for jQuery / Re: Combobox with Clear Icon, on: October 23, 2019, 08:23:22 PM
Try this code to attach a clear icon on the combobox component.
Code:
$('#cc').combobox({
icons: [{
iconCls: 'icon-clear',
handler: function(e){
$(e.data.target).combobox('clear').combobox('textbox').focus();
}
}],
onChange: function(value){
if (value){
$(this).combobox('getIcon', 0).css('visibility','visible')
} else {
$(this).combobox('getIcon', 0).css('visibility','hidden')
}
}
})
50  General Category / General Discussion / Re: TypeError: $.data(...) is undefined on: October 23, 2019, 07:57:09 PM
Your 'datagridview.php' should be:
Code:
<table id="dg" data-options="fit:true" class="easyui-datagrid">
<thead>
<tr>
<th field="categoryName" halign="center" width="200" sortable="true" align="left">Category</th>
<th field="categoryName2" halign="center" width="200" sortable="true" align="left">Category2</th>
</tr>
</thead>
</table>

No error occurs on the console.
51  General Category / General Discussion / Re: form inputs: validation not working on: October 04, 2019, 04:41:26 PM
Please look at this code.
Code:
<input name="name"  type="text"  class="easyui-validatebox" data-options="missingMessage:'foo',required:true" />

When you append this code to the form dynamically, you only create an <input> element with 'easyui-validatebox' class. You should create or parse it as an easyui component before using it.


52  General Category / General Discussion / Re: applying multiple validation rules using the valideType attribute on: October 04, 2019, 04:23:36 PM
The multiple validation rules should be set in 'data-options' attribute. Please look at this code below.

Code:
<input class="easyui-validatebox" data-options="
required:true,
validType:['email','length[0,20]']
">
<input class="easyui-validatebox" data-options="
required:true,
validType:{
length:[10,30],
remote:['http://.../action.do','paramName']
}
">
53  General Category / General Discussion / Re: applying multiple validation rules using the valideType attribute on: October 02, 2019, 05:17:58 PM
The 'validType' attribute can only accept one validation rule, please use 'data-options' attribute and apply 'validType' property with multiple validation rules.
54  General Category / General Discussion / Re: removing an easyui dialog from DOM on: October 02, 2019, 05:09:20 PM
Please call the 'destroy' method to remove the dialog from DOM.
55  General Category / EasyUI for jQuery / Re: ext color in ext edatagrid on: September 26, 2019, 11:39:26 PM
Please extend the 'color' editor on the datagrid.
Code:
<script type="text/javascript">
$.extend($.fn.datagrid.defaults.editors, {
color: {
init: function(container, options){
var input = $('<input class="datagrid-editable-input">').appendTo(container);
input.color(options)
return input;
},
getValue: function(target){
return $(target).color('getValue');
},
setValue: function(target, value){
$(target).color('setValue',value);
},
resize: function(target, width){
$(target)._outerWidth(width);
}
}
})
</script>
56  General Category / EasyUI for jQuery / Re: display of tree lines in release 1.8.5 on: September 26, 2019, 11:31:37 PM
Try to override the CSS style.
Code:
<style type="text/css">
.tree-indent,.tree-hit{
transform: scale(1.4)
}
</style>
57  General Category / General Discussion / Re: data-options: where are the docs? on: September 22, 2019, 11:43:33 PM
This is the default convention. All the options and events of a component can be described in 'data-options' attribute.
58  General Category / General Discussion / Re: Prepopulate the multiple combogrids with data from server. on: September 09, 2019, 02:48:26 AM
The 'combogrid' has the 'loader' and 'loadFilter' functions to convert any data to the desired format. What's the data from the 'getorder.php' and 'product.php'.
59  General Category / EasyUI for jQuery / Re: Using easyloader and extensions on: September 08, 2019, 07:00:55 PM
Yes, you can define the modules before using it in a better way. Please look at this code:
Code:
$.extend(easyloader.modules, {
edatagrid: {
js:'https://www.jeasyui.com/easyui/jquery.edatagrid.js',
dependencies:['datagrid']
},
datagridfilter: {
js:'https://www.jeasyui.com/easyui/datagrid-filter.js',
dependencies:['datagrid','treegrid','combogrid']
}
})
using(['edatagrid','datagridfilter'], function(){
...
});
60  General Category / News / Vue EasyUI 1.2 Release on: September 03, 2019, 12:48:06 AM
We are pleased to announce the availability of Vue EasyUI 1.2.

  • Some bugs in previous version are fixed.
  • Some new properties and methods are added.
  • The floating label feature in form is added.
  • The column resizing is available in datagrid.
  • The 'FormField' component is added.
  • ...

Please visit https://www.jeasyui.com/download/vx12.php to see more details.
Pages: 1 2 3 [4] 5 6 ... 239
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!