EasyUI Forum
May 03, 2024, 01:08:51 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
16  General Category / EasyUI for jQuery / TextEditor: color on: December 20, 2016, 07:42:48 AM
First of all, thanks for the new TextEditor extension. It was essential for my projects.
Is there a way to activate a text-color toolbar button too? Or maybe it will be on next release?
17  General Category / EasyUI for jQuery / Re: Globally Prevent Double Click on Button on: July 26, 2016, 12:00:48 AM
Yes, it could be very useful for me too. Any help would be appreciated
18  General Category / EasyUI for jQuery / SOLVED: File upload progress bar on: March 23, 2016, 09:33:42 AM
Easyui 1.4.5 version is the answer. On form, set "iframe" property to false and use "OnProgress" event to update progressbar plugin.
19  General Category / General Discussion / Re: Form feature request on: March 23, 2016, 09:29:40 AM
Yes, the 'iframe' property will be available, which can be set to submit the form via 'iframe' or 'xhr2'.
Finally tested new 1.4.5 version. It's perfect. On forms now I can use the iframe poperty and bind "OnProgress" event on progressbar plugin update. Thanks.
20  General Category / General Discussion / Re: New plugin (Text Editor) [UNSOLVED] on: March 22, 2016, 05:56:20 AM
++1
21  General Category / General Discussion / Re: Form feature request on: March 18, 2016, 08:48:24 AM
Yes, the 'iframe' property will be available, which can be set to submit the form via 'iframe' or 'xhr2'.
Perfetct. I just sow on documentation the new properties and events of form and filebox plugins. It's what I was looking for.
....Waiting for new 1.4.5 version. Great job.
22  General Category / General Discussion / Form feature request on: March 16, 2016, 11:39:54 AM
I'd like to extend form features to have "upload file progress"  like this very interesting implementation: http://malsup.github.io/jquery.form.js
For now, someone can help me?
It could be a request for next version of easyui?
23  General Category / EasyUI for jQuery / File upload progress bar on: March 12, 2016, 02:38:44 AM
I need to show a progress bar (with real values) when uploading file on server with a form. How can I do that? I found several examples on the web with jQuery uploadProgress option of ajaxSubmit(); it's possible to extend form easyui plugin with this option? 
24  General Category / EasyUI for jQuery / Re: Filebox multiple files on: March 02, 2016, 10:08:55 AM
Ok, maybe i found a solution.
Code:
$('#fb').filebox({
   buttonText: 'Select...',
   onChange: function (newValue, oldValue) {
   // This to show all files list on the textbox (otherwise it shows only last selected file with the "fakepath" issue)
            var f = $('#fb').next().find('.textbox-value');
            var listfiles = '';
            $.each(f[0].files, function(index, item) {
                if (listfiles.length > 0) { listfiles = listfiles + ', '+ '"'+item.name+'"'; }
                else { listfiles = '"'+item.name+'"'; }
            });
            $(this).textbox('setText',listfiles);
   }
});

// This to set the right property "multiple" on the input file tag
$('#fb').next().find('.textbox-value').prop('multiple',true);
25  General Category / EasyUI for jQuery / Filebox multiple files on: March 02, 2016, 08:10:58 AM
I'm using easyui-filebox plugin, but i can't select multiple files. How can I enable this feature?
26  General Category / General Discussion / Extension site pages on: June 22, 2015, 10:21:34 AM
It's simply  a personal consideration. It could be a good practice on extensions site pages to show a changelog, a version number or at least a "last modified date". It's very difficult for me realize if I'm using the latest version of any extension.
27  General Category / EasyUI for jQuery / Re: Datagrid filter row and validatebox on: June 22, 2015, 10:06:52 AM
Perfect jarry, it is what i'm looking for
28  General Category / EasyUI for jQuery / Re: Datagrid filter row and validatebox on: June 18, 2015, 01:37:35 AM
The 'onBeforeLoad' event fires before loading the remote data. Returning false will abort the request to the server.

Thanks jarry, your code could be a good start point but on my datagrid I'm using pagination option; when I change page with invalid filter field nothing happens (so your code works fine) but page indicator changed always. How to avoid this?
Another good solution could be to avoid the load data event if the filter is not valid.
For example, is there a way to use "onClickMenu" event introduced by filter-row extension, to avoid adding a filter rule not validated by validatebox?
29  General Category / EasyUI for jQuery / Datagrid filter row and validatebox on: June 17, 2015, 12:07:35 PM
I'm using datagrid filter row extension with remoteFilter option enabled and it works fine.
Now I'd like to avoid that filter action starts when typed text lenght is less then 3 char. This is my code to enable this filter:
Code:
dg.datagrid('enableFilter', [{
   field:'description',
   type:'validatebox',
   options: {validType:'minLength[3]'},
   op:['contains','equal','notequal','beginwith','endwith']
}]);
The validatebox object works fine (I see the expected alert message for too short string), but it's always possible to apply the filter.
Any idea?
30  General Category / EasyUI for jQuery / Re: How to display Title in checked column in a datagrid on: May 20, 2015, 02:43:23 AM
That's ok. I think for best visual result it should be
Code:
var h = $('#dg').datagrid('getPanel').find('div.datagrid-header div.datagrid-header-check');
h.removeClass('datagrid-header-check');
h.addClass('datagrid-cell');
h.html('<span>Final</span>')
Pages: 1 [2] 3
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!