EasyUI Forum
April 27, 2024, 08:49:54 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 ... 5 6 [7]
91  General Category / EasyUI for jQuery / Re: enableFilter and default value on: July 23, 2015, 04:36:00 AM
Hi all.

But there is an issue with this approach. The data in datagrid is loaded n-number of times!

I have extended your fiddle example to demonstrate the same: http://jsfiddle.net/ov3zxqww/1/

In case of remote url call this is terrible! Please help.

It should be possible to
 - define a datagrid (set url, columns etc.)
 - enable custom filters (call enableFilter)
 - initialize datagrid with some filter rules (filterRules)

and then load the data into datagrid.

Thanks.
92  General Category / Bug Report / Re: [REQUEST] datagrid-filter extension, alternate iconCls for active filter column on: July 23, 2015, 02:52:54 AM
Hi, if someone lands here in search of setting up an alternate icon for active filter column..

This topic is discussed here:

http://www.jeasyui.com/forum/index.php?topic=3239.0
93  General Category / EasyUI for jQuery / Re: How can I change the "DataGrid Filter Row" filter-icon if a filter is active on: July 23, 2015, 02:47:42 AM
Hello,

the 'onClickMenu' event applies well if you have a menu based filter.

However, if the filter is combobox based or simple textbox based - as seen in the attached png file, then I have no possiblilty to react and do some visual changes so that the user can see on which columns a filter is applied currently.

I think what we need here is a 'onDoFilter' event, with parameters that enables us for e.g. to change css style of header cell or set an icon.

Thank you.
94  General Category / EasyUI for jQuery / SOLVED: Re: check if window is open on: February 16, 2015, 09:12:32 AM
The 'closed' option solves the issue! Nice to know that this option is updated on window close/open. Thanks very much.
95  General Category / EasyUI for jQuery / check if window is open on: February 13, 2015, 09:55:01 AM
Hello,

How can I find if a non-modal window is currently in open state? The window may or may not have the focus.

I am wanting this to update the content the window (by reopening it) if it is already open.

Thanks.
96  General Category / EasyUI for jQuery / Re: text-alignment for number boxes on: January 15, 2015, 08:35:04 AM
Hi, thanks for the suggestion but that doesn't work because of the way textboxes are built in easyui. They use span elements and new text elements on which the css style '.textbox-text' etc. are applied. Here, an example:

My code for creating a numberbox:
Code:
<td>
Total Server:<br><input id="spCMSoD_kpiTotalServer" name="kpiTotalServer" readonly="readonly" class="easyui-numberbox" type="text" size="15" value="2">
</td>

The generated html output:
Code:
<td>
Total Server:
<br>
<input id="spCMSoD_kpiTotalServer" class="easyui-numberbox numberbox-f textbox-f" type="text" size="15" readonly="readonly" style="display: none;" textboxname="kpiTotalServer" numberboxname="kpiTotalServer">
<span class="textbox textbox-readonly numberbox" style="width: 108px; height: 20px;">
<input class="textbox-text textbox-text-readonly validatebox-text" type="text" autocomplete="off" readonly="readonly" placeholder="" style="margin-left: 0px; margin-right: 0px; padding-top: 2px; padding-bottom: 2px; width: 100px; ime-mode: disabled;">
<input class="textbox-value" type="hidden" name="kpiTotalServer" value="2">
</span>
</td>

The input element that I declare (id="spCMSoD_kpiTotalServer") is hidden using display:none. And a new input element with class="textbox-text textbox-text-readonly validatebox-text" is added. So the styling you apply has no effect. I think we need here a style option for textboxes
97  General Category / EasyUI for jQuery / text-alignment for number boxes on: January 14, 2015, 09:27:11 AM
How can I style number boxes to align the numbers to right (e.g. text-align: right)?

The solution in following topic "http://www.jeasyui.com/forum/index.php?topic=3648.0" aligns all types of textboxes including comboboxes. I am looking a style option only for number boxes.

Please help.
98  General Category / EasyUI for jQuery / edatagrid: get row changes in onBeforeSave on: December 19, 2014, 05:48:34 AM
Is it possible to get the changes made to the current row in edatagrid when the event onBeforeSave is fired? That will help to avoid save/update of a row when no changes are made. Thanking you for a small hint.
99  General Category / EasyUI for jQuery / queryParams for comobox please, if possible on: December 18, 2014, 06:19:43 AM
Currently we add request parameters for the comboboxes as prefix to the url:

Code:
$('#myCombobx1').combobox({  
url:'serverSideMethod.do?eN=xxx.itsm.Change&idCN=changeId&cN=changeState&cVal=CREATED&oBc=changeId',
        hasDownArrow:true,
        ....
});

In somecases however,  there are many parameters where queryParams (like in datagrid) would make sense. In general, queryParams makes always sense with url. Thanking you for considering this request.
100  General Category / Bug Report / Re: datagrid frozencolumns breaks the datagrid rows on: December 17, 2014, 08:52:27 AM
Please see the problem here: http://jsfiddle.net/wg795job/

101  General Category / General Discussion / Re: access to datagrid filter component on: December 16, 2014, 03:52:36 AM
Thanks Support Team, it works!
102  General Category / General Discussion / Re: access to datagrid filter component on: December 16, 2014, 01:23:31 AM
Feedback received from support@jeasyui.com:

Please try this:

      onClickMenu : function(item,button) {
             if(item.target.itemName == 'myNewOperator') {
               var c = $(button).closest('.datagrid-filter-c');
               var box = c.find('.datagrid-filter');
                    $(box).textbox('reset');
             }
      }


Sincerely,
jQuery EasyUI Team
103  General Category / General Discussion / access to datagrid filter component on: December 16, 2014, 01:21:28 AM
Hello,

I have a question on datagrid filter. I have extended the filter with an aditional operator and want to reset the filter-textfield when user clicks on this new operator. The "onClickMenu" event doesn't gives accesss to the filter-component itself. How can I get to the filter component? To get to the filter component, i need to have the field so that I can do something like this:
      onClickMenu : function(item,button) {
             if(item.target.itemName == 'myNewOperator') {
                    var box = $(this).datagrid('getFilterComponent', 'osEOSDate');
                    $(box).textbox('reset');
             }
      }
Please help.
Pages: 1 ... 5 6 [7]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!