EasyUI Forum
April 19, 2024, 02:58:08 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2
1  General Category / EasyUI for jQuery / Printing Tabs on: May 21, 2020, 11:31:11 AM
Is there a way of over-riding the hidden areas of the tab boxes for print? My client would like to be able to print all tab content. @print css doesn't work because the display is set inline via the easyui tab code. I don't want to change that hidden visibility on the screen when printing, only on the printed content.
2  General Category / EasyUI for jQuery / Datagrid Filter Mask on: May 14, 2020, 12:34:17 PM
Is there a way to add a filter to a datagrid mask?

I've tried using type: 'maskedbox' with options: {mask: '9999-99-99'} but that doesn't work.
3  General Category / EasyUI for jQuery / Re: Checkbox as filter on: August 04, 2019, 08:10:33 AM
Jarry

Thank you again! So great.

Jimmy
4  General Category / EasyUI for jQuery / Checkbox as filter on: August 02, 2019, 08:04:23 AM
I've seen that this question has been asked before, but there weren't really answers that worked on those post (at least as far as I've seen).  On the datagrid filter extension, there is a great example of how to use a combobox, but what I really need is an extension that filters on a boolean/checkbox. I can't seem to figure this out, and rather than posting my failed examples I would love it if someone could share an example that works.

Thanks!
Jimmy
5  General Category / EasyUI for jQuery / Re: How to get datagrid query parameters on: July 31, 2019, 07:44:42 AM
Perfect! Thanks a ton!
6  General Category / EasyUI for jQuery / Re: How to get datagrid query parameters on: July 30, 2019, 07:13:32 AM
Thanks for that! Very helpful! And I can certainly use this if it is the only option.

Is there no other way to get that value? Is it not accessible in the object, say if I wanted to call the queryParams from a script on the click of a button (without loading/reloading the datagrid)?

Thanks!
7  General Category / EasyUI for jQuery / Re: How to get datagrid query parameters on: July 29, 2019, 07:05:32 AM
Yeah, I know how to do the processing on the server side. What I'm wondering is how I can get via jquery or javascript the current query data that has been used to create the currently viewable contents of the datagrid (including filters or searches).  How do I get the query data that was sent from a particular datagrid object with jquery?
8  General Category / EasyUI for jQuery / How to get datagrid query parameters on: July 26, 2019, 08:40:34 AM
I'm trying to access all the parameters being sent to the server for a datagrid (including the filter plugin parameters and search parameters). How do I do this? What I want to  do is send all the current query parameters to another processing page that allows users to create excel, comma-separated, or pdf files that match the current datagrid (not just the curent page, but all data).
9  General Category / EasyUI for jQuery / Re: load combogrid on focus on: August 31, 2017, 10:48:54 AM
I'm coming back to this. Still thinking there should be a way to load basically empty combogrids at init, and then only load the data if/when the combogrid takes focus. I have a page that has many inputs, most of them would be unused most of the time (it manages a configuration system). They don't need to load on the page unless the user selects that input.

Any ideas?
10  General Category / EasyUI for jQuery / reload combogrid after new record added on: May 23, 2017, 11:07:49 AM
Hello all

I have a combogrid that I've paired with a "add new record" feature. What I want is fwhen the user creates a new record, the combogrid reloads in order to reflect the newly entered data (correct record desc in the textfield and record selected and scrolled to  in combogrid).  Currently, on submission of the form, I have no problem with reloading the grid or using 'setValue' to set the value and display of the combogrid to the new record. However, due to the number of records, I'm using scrollview with paging set to 10, and I'm having problems figuring out how to get the combogrid to scroll to the newly entered record.  Any help?

Here's an example from the save record function once it has the object result:

Code:
var new_record = result.new_record;
var new_desc = result.new_desc;

var grid = $('#mycombo').combogrid('grid');
grid.datagrid('load');
grid.datagrid('selectRecord',{recordid: new_record});

$('mycombo').combogrid('setValue', {recordid: new_record, desc: new_desc});

Where do I go from here?  I get null or -1 values when I try to use getSelected or getRowIndex. I'm assuming this is because I'm using scrollview?  I am also using a remote datasource in a php file with filtering.

Any help would be appreciated.


11  General Category / EasyUI for jQuery / Close Window, Dialog, Modal on Keypress on: May 22, 2017, 12:53:48 PM
I can't quite figure this one out.

When I open a dialog/window, is there a way to have it close on any keypress? And then once it has closed to stop the keydown/keypress function (so that I can refocus on form elements)?

For example, how would I close $("mydialog").dialog();

Thanks
jimmy

12  General Category / EasyUI for jQuery / Reference elements in dialogue on: May 18, 2017, 09:43:17 AM
How do I reference elements in dialogues?

For example I use:

Code:
$('#my_modal').dialog({
     href: 'search_form'.html

})

To load a search form, and now I want to use scripting to add combobox values to an input with id "search_field" or name "search_value" in the dialogue.  How do I make the reference $('#search_field').combo(); doesn't work.
13  General Category / EasyUI for jQuery / Re: Validate Combogrid by Limiting to Grid Options on: December 20, 2016, 09:30:55 AM
Thanks!
14  General Category / EasyUI for jQuery / Validate Combogrid by Limiting to Grid Options on: December 19, 2016, 08:31:48 AM
Is it possible to limit the option a user has when using the combogrid, so that they must select from values in the combogrid?  I still would like for them to be able to type into the input, but not allow submit if entry isn't in the combogrid choices.

Thanks
JD
15  General Category / EasyUI for jQuery / Re: form and iframe mode on: December 14, 2016, 11:30:52 AM
Sure. But I can already post to iframe using target.  Why or how would I use this plugin to do so?  Are there examples?
Pages: [1] 2
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!