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. $('#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: <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. <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.
|
|
|
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. <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>
|
|
|
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: $.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.
|
|
|
|