Show Posts
|
Pages: [1] 2
|
2
|
General Category / EasyUI for jQuery / Re: Checkall in TreeGrid
|
on: February 28, 2024, 06:17:07 AM
|
Thanks for your help. The built-in functionality set the checkbox next to the text. I need the checkbox in a unique column. I tested the title option but when clicking on the checkbox nothing happens (not even the check is carried out). I need the checkall/uncheckall functionality. Its possible?
|
|
|
3
|
General Category / EasyUI for jQuery / Checkall in TreeGrid
|
on: February 27, 2024, 05:40:56 AM
|
Hello. I need a checkbox column in a treegrid where will only be displayed if the value of another column is different of blank. I used the formatter function and it worked. However, when making this change the checkboxall disappeared from the header. What do I need to do to make it appear?
My code:
$('#treegrid_faturar_bof_agente_medicao').treegrid({ columns: [ [{ field: 'checked', formatter: function(value, row, index) { if (row.chave_faturamento != "") { return '<input type="checkbox" class="easyui-checkbox" />'; } } },{ field: 'nom_item', title: 'Agente X Mês', width: 730 } ] ], singleSelect: true, checkOnSelect: false, selectOnCheck: false });
|
|
|
6
|
General Category / EasyUI for jQuery / Tagbox + serialize duplicate field e values
|
on: October 01, 2018, 12:50:29 PM
|
If I use serialize to get the values of my form, the tagboxs get the field e value duplicate.
Ex:
console.log($('#cod_familia_item').combobox('getValues')); // output: "C,L,F"
$('#form_tabela').submit(function(e){ e.preventDefault(); console.log($(this).serialize()); // output: "cod_familia_item=C&cod_familia_item=L&cod_familia_item=F"
...
how can I get the result of serialize like this "cod_familia_item=C,L,F"?
|
|
|
7
|
General Category / EasyUI for jQuery / Check if a cell has focus
|
on: June 18, 2018, 10:54:25 AM
|
How can I check if a cell of eDataGrid has the focus?
onBeginEdit:function(rowIndex,row){
var editors = $('#datagrid_item_pedido').datagrid('getEditors', rowIndex); var pre_unitario_final = $(editors[1].target);
pre_unitario_final.numberbox({ onChange: function(newValue,oldValue) { if (pre_unitario_final.is(":focus")) { // DOSN'T WORK console.log('focus');
|
|
|
10
|
General Category / Bug Report / Re: Menu Click Bug
|
on: April 29, 2018, 06:44:17 AM
|
Thanks for the help but doesn't fix my problem. In your example, if I click on the MenuButton, nothing happens. In 1.5 version, It's shows(open) the submenus (Item1,Item2).
|
|
|
11
|
General Category / Bug Report / Re: Menu Click Bug
|
on: April 27, 2018, 07:05:57 AM
|
My code...
var data = ".json_encode($itens_menu[$sistema]).";
createMenuBar(data, '#top-menu'); function createMenuBar(data, container){ $.map(data, function(btn){ var b = $('<a href=\''+(btn.url != '' ? btn.url : '#')+'\'></a>').appendTo(container); // CLICK ERROR HERE if (btn.items){ b.menubutton($.extend({}, btn, { menu: createMenu(btn.items), iconCls: btn.icon })); } else { b.linkbutton($.extend({}, btn, { plain: true, iconCls: btn.icon })); } }); function createMenu(items){ var m = $('<div></div>').appendTo('body').menu(); _create(items); return m; function _create(items, p){ $.map(items, function(item){ m.menu('appendItem', $.extend({}, item, { iconCls: item.icon, href: item.url, parent: (p?p.target:null) })); if (item.items){ var p1 = m.menu('findItem', item.text); _create(item.items, p1); } }); } } }
|
|
|
12
|
General Category / Bug Report / Menu Click Bug
|
on: April 27, 2018, 07:01:28 AM
|
Hello. I upgrade from 1.5 to 1.5.5. Now, when I click on a menu with submenus ( that is, without URL ou Javascript action defined), it tries to open a UNDEFINED page, instead of displaying the submenu. How can I fix this?
|
|
|
13
|
General Category / EasyUI for jQuery / inList validate in edatagrid cell
|
on: August 25, 2016, 10:55:54 AM
|
How can I use validType:'inList["#COD_USUARIO"]' in this eDataGrid cell?
<th field="COD_USUARIO" width="190" editor="{type:'combobox',options:{valueField:'COD_USUARIO',textField:'NOM_FUNCIONARIO',url: '/logix/ajax_usuarios_buscar',required:true}}"><b>Usuário</b></th>
|
|
|
14
|
General Category / General Discussion / Mobile Panel IE Error
|
on: August 24, 2016, 10:05:48 AM
|
If i try to use easyui-navpanel (m-toolbar...title...left...) in "jquery.easyui.mobile.js" on the Internet Explorer (version 8, 9, 11), the tags are messed up. How can i fix this?
|
|
|
|