Show Posts
|
Pages: [1]
|
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') ; } }) ;
|
|
|
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?
|
|
|
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
|
|
|
|