EasyUI Forum
April 25, 2024, 12:30:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / messager and html on: November 09, 2017, 03:12:28 AM
Is it possible to display HTML in a messager box. If so, how?

I am sending HTML, but it is being interpreted as text.
2  General Category / Bug Report / Bug in combobox with filter and onShowPanel on: October 29, 2017, 02:03:55 AM
I have set up a combobox as shown below.
The first time that the user presses a key in the combobox the following events happen:
 1. The filter is run on the current data in the combo box
 2. Once that is finished, the onShowPanel code is run. In this case it is a reload.
 3. The filter is NOT run on the reloaded data.

Shouldn't the filter be run on the reloaded data?

Peter



$(id).combobox({ 
   url:        url, 
   method:     'post',
   mode:       'local',
   valueField: valueField, 
   textField:  textField,
   editable:   true,
   required:   true,
   filter: function(query,row) {
       var opts = $(this).combobox('options');
       var valueInDropdown = row[opts.textField] ;
       return myTest(query, valueInDropdown) ;
   },
   onShowPanel: function() {
       $(id).combobox('reload') ;
   }
}) ;
3  General Category / EasyUI for jQuery / Re: Programatically resize two connected panels on: January 15, 2017, 01:30:57 AM
Hi.

The code you gave me nearly works - to within a few pixels.

If you run this sequence you will see that the left panel gets smaller with the resize.

xx = $('#mainLayout').layout('panel','west').width()
$('#mainLayout').layout('panel','west').panel('resize', {width:xx})

Peter
4  General Category / EasyUI for jQuery / Re: Programatically resize two connected panels on: January 10, 2017, 07:17:26 AM
Thank you for the prompt reply  Smiley
5  General Category / EasyUI for jQuery / Programatically resize two connected panels on: January 10, 2017, 06:49:38 AM
I have a layout panel, with two sub panels, one marked as "center", and one marked as "west".

There is a divider between them which can be moved with a mouse.

Is the a way of moving the divider programatically, and if so, how?
6  General Category / EasyUI for jQuery / Datagrid hover on: April 07, 2014, 01:32:31 AM

I would like to take an action when the mouse hovers over a grid line. Is there any way to do this?
If so, how would I be able to tell which line the mouse was hovering over?
7  General Category / EasyUI for jQuery / Creating a link button in a grid on: October 25, 2012, 01:32:52 AM
I have a grid table and want to create a link button in some of the elements.
Getting a link is no problem. The thing I haven't managed is to make it look like a link button.

Any help would be appreciated.
8  General Category / Bug Report / Datagrid on: June 21, 2012, 12:43:24 AM
I have a datagrid where I am setting a number of parameters.
    $('#myId').datagrid({ 
        url:          '/myUrl', 
   pagination:   true,
   pageSize:     39,
   striped:      true,
...
When I set pageSize to anything but a multiple of 10,  the parameter 'rows' that is sent to the server is always 10.

9  General Category / EasyUI for jQuery / Context menu on: April 18, 2012, 06:12:18 AM
I have bound a context menu to the lines in a list, and the context menu appears.
How do I know which line in the list was being used when the user selected the menu?

Thanks

Peter
10  General Category / EasyUI for jQuery / Adding custom data to a form on: April 10, 2012, 03:35:53 AM
I have a form and I need to send extra data with the form.
The data to be sent is a complex structure, so using a hidden input element
in the form isn't going to be enough.

I had a look at the form plugin, and there is a reference to "data".
I tried adding it with 'data' as shown, but that doesn;t work.

 $(formId).form('submit',{ 
   url: url,
        data: {xxx: 'yyy'},
        onSubmit: function(){ 
            return $(this).form('validate'); 
        }, 
        success: function(result){ 
 ...

Thanks,

Peter
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!