EasyUI Forum
May 03, 2024, 11:28:25 PM *
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 / Re: Checkall in TreeGrid on: February 29, 2024, 07:48:03 AM
Thanks a lot for the help. We have one last problem. When hiding the datagrid-cell-check, the formatting of the columns is lost (see attached image). Can you help?
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
                });
4  General Category / EasyUI for jQuery / Mobile Rotation Auto-size Error on: December 06, 2019, 12:02:34 PM
Hello. In my page...

http://fotonenergia.com.br/test.html

When i load the page the chart auto adjust to the window (in mobile mode).



If I click to rotate the window, the chart lost the auto adjust.



If I click rotate again, the error persist.



Can anyone help me? Thanks!
5  General Category / EasyUI for jQuery / Re: Tagbox + serialize duplicate field e values on: October 02, 2018, 07:42:39 AM
Thanks!!!!  Wink
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');
8  General Category / EasyUI for jQuery / [SOLVED] Re: Combobox minimal user typed text length on a local mode on: May 28, 2018, 05:25:59 AM
Perfect. Thanks!
9  General Category / EasyUI for jQuery / Combobox minimal user typed text length on a local mode on: May 24, 2018, 05:21:11 PM
How can I set the minimal user typed text length (ex: 3 characters) when the combobox is set to LOCAL mode?
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?
15  General Category / General Discussion / Img tag or text next to the checkbox column title on: July 27, 2016, 07:34:55 PM
I set a column of my DataGrid to checkbox type (data-options="checkbox:true"). The title of the column turned into a checkbox. How can I set a img tag or text next to the checkbox column title?
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!