Show Posts
|
|
Pages: [1]
|
|
2
|
General Category / Bug Report / Bug when add cls in region center of layout
|
on: June 17, 2015, 09:36:02 AM
|
If you try to add a class in the region center of a layout, the panel don't put in the correct place. It seems that is in the bottom of the window. You can check this issue in the following link: http://jsfiddle.net/omhardb/yLwd4kvn/Maybe the problem is because the "layout-panel" and "layout-panel-center" classes are losing when you add a new class in the region center. Please check this problem and give a solution as soon as posible. Regards,
|
|
|
|
|
5
|
General Category / Bug Report / Don't clean checkedRows array when call loadData in datagrid
|
on: January 15, 2015, 02:36:45 PM
|
Hi! I realize that the checkedRows collection in datagrid doesn't clean in the loadData method. In my case, I have a datagrid that use the checkbox to decide which rows must be deleted on the datagrid. In the first time, I check one of this row, then I create a new array without the checked row and use the loadData to set the new data. After that, I use the getChecked method to retrieve the checkedRows and I realize that the row who must be deleted it doesn't. That can be possible, because the datagrid have a new data and the data that I get from getChecked method is old. Also, I realize that this issue happens because I set the idField in the data-options of the datagrid. If you see this function, in the jeasyui library, that is called when I use 'getChecked' method: function _642(_643){ var _644=$.data(_643,"datagrid"); var opts=_644.options; if(opts.idField){ return _644.checkedRows; }else{ var rows=[]; opts.finder.getTr(_643,"","checked",2).each(function(){ rows.push(opts.finder.getRow(_643,$(this))); });If the 'idField' is seted then the function return the checkedRows collection, but this collection never is cleaned in the loadData method. So, if the 'data' would be changed then the checkedRows collection could keep old 'data'. Maybe, is better that the checkedRows collection always be cleaned when the 'loadData' method will be called. Regards,
|
|
|
|
|
7
|
General Category / Bug Report / Tooltip Error: First, It shows in a single line and then, in multiple lines
|
on: July 31, 2014, 01:16:36 PM
|
I try to put a tooltip in each item of a combo but the tooltip don't works fine when it's created. In order to create tooltips I get the panel of the combo: var comboPanel = $('#' + comboName).combobox('panel'); Then find divs with combobox-item class and for each of them I create each tooltip: comboPanel.find ('div.combobox-item').each (function (index) { var $item = $(this); var title = ""; .... (in this part, I get the title value for each item) $item.tooltip({ position: 'right', content: '<span style="font-size: 87%;">'+title+'</span>' }); }); When I dropdown the combo and put the mouse over item, in a first time the tooltip looks in the left (no 'right') and in a single line (see the first attachment). When I put the mouse over the same item in a second time the tooltip looks in the rigth and in multiple lines (see the second attachment). I believe this could be a mistake in the creation or viewing of the tooltip. Regards,
|
|
|
|
|
8
|
General Category / Bug Report / Error in menubutton when the menu is shared between two or more buttons
|
on: July 25, 2014, 11:06:32 AM
|
I try to create a menubutton in a formatter of a datagrid. This menubutton must be shown different options available for each row. In order to do this, I create only one menu and for buttons in each row I refer them to this menu, like this: Menu<div id="mnuOpciones" data-options="onClick: onClickMnuOpciones"> <div id="mnuOpcionPropiedades" data-options="iconCls:'icon-sbs-propiedades'">Propiedades</div> <div id="mnuOpcionObjetivo" data-options="iconCls:'icon-sbs-objetivo'">Objetivo</div> <div id="mnuOpcionMuestreo" data-options="iconCls:'icon-sbs-quimica'">Muestreo</div> </div> Menubutton in formattervar btnId = btnOpcionesId + '_' + key; var btn = '<a id="' + btnId + '" href="javascript:void(0)"></a>'; setTimeout(function(){ $('#' + btnId).menubutton({ iconCls: 'icon-sbs-engranaje', menu: '#'+ mnuOpciones, disabled: false, plain: true, onClick : function () { onClickBtnOpciones (key, row); } }); }, 0); return btn; However, when i click in a menubutton after that the menu was opened to another menubutton in a different row, the menu of the current row, close immediately. Maybe the reason for this is because the menu is shared between buttons. Could you please give me a solution to this don't happen? PS: In my case, I change the delay time to close the menu to a higger value that you have, approximately 1000 miliseconds. Maybe this also is affecting.
|
|
|
|
|
9
|
General Category / Bug Report / Re: bug on updating the validtype options in timespinner
|
on: April 11, 2014, 10:11:38 AM
|
|
Dear Adiministrator,
I know that the validType accept one value or an array with values, and as i said, i'm using as an array, but, when i update or changes items of that array and set in validType, only the first element of the array is in the validType, and other are losing. And also, i realize that this first element, is the first element that i set up in the first time.
Thanks and Regards,
PS: The version of jeasyui that i'm using is 1.3.5
|
|
|
|
|
10
|
General Category / Bug Report / Re: bug on updating the validtype options in timespinner
|
on: April 08, 2014, 10:16:31 AM
|
|
Dear Administrator,
I have already tried to set up the options of the timespinner, using the validType, as you told me. However, in my case, i don't have only one validator in this validType, i have an array of validators, which items (and length) changes each time that user selects.
However, i forgot to said that i'm using the 1.3.5 version of easyui. Maybe, in the new version, you don't have this problem. Please confirm if this problem would be solved in the new version.
Thanks and regards,
|
|
|
|
|
11
|
General Category / Bug Report / bug on updating the validtype options in timespinner
|
on: April 07, 2014, 04:37:19 PM
|
|
As the subject said, i try to use a timespinner but changing the validType option depending on other options that the user selects (my goal is to have a dynamic validation). In order to do this, i create several new rules in the validatebox.defaults.rules that will be set up or reset up in case are needed. In the first time, i don't have any problem with the first configurated validation, it is setting in the options of the timespinner and it is recognized; however, in a second or third time, when i change or add a new validations to the validType of the timespinner, only is recognized the first one the i set.
Tell me, please, if is possible to change or add new validations in the validType of the timespinner, or it is not possible? or maybe, i do this in a wrong way?
I think having the option to change validations when I need it is important, but tell me if there are any limitations in this regard.
Thanks for your help,
|
|
|
|
|