EasyUI Forum
May 05, 2024, 04:15: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 3 ... 8
1  General Category / EasyUI for jQuery / datagrid validatebox vs. combobox on: August 30, 2017, 09:11:52 PM
I want to define a validatebox with prompt:

It doesn't show the prompt.
,{field:'PUA_STATUS',title:'Status',width:080,sortable:'true'
    ,editor:{ type:'validatebox'
              ,options:{ required:true
                    ,disabled:false
                ,editable:true
                      ,prompt:'Status...'
                  ,missingMessage: 'Geben Sie den Status ein.'
          }//options
     }//editor
     //,editor:{type:'validatebox',options:{required:false}}
    }//field

If I make a combobox of it then it shows the prompt. Whats wrong?

,{field:'PUA_STATUS',title:'Status',width:080,sortable:'true'
    ,editor:{ type:'combobox'
              ,options:{ required:true
                   ,disabled:false
             ,editable:true
                      ,prompt:'Status...'
                  ,missingMessage: 'Geben Sie den Status ein.'
          }//options
     }//editor
    }//field

It works when I make a textbox out of it:
,{field:'PUA_STATUS',title:'Status',width:080,sortable:'true'
    ,editor:{ type:'textbox'
              ,options:{ required:true
                   ,disabled:false
             ,editable:true
                      ,prompt:'Status...'
                  ,missingMessage: 'Geben Sie den Status ein.'
          }//options
     }//editor
    }//field
2  General Category / EasyUI for jQuery / datagrid textbox with default value on: August 30, 2017, 08:58:48 PM
I want to set a default value on a validatebox within my datagrid at new row. How to?

,{field:'PUA_STATUS',title:'Status',width:080,sortable:'true',editor:{type:'validatebox',options:{required:true}}}
3  General Category / EasyUI for jQuery / Re: datagrid - multisort on: August 28, 2017, 12:24:22 AM
Thank you very much. It works. Great.
4  General Category / EasyUI for jQuery / datagrid disable editing on doubleclick on a row on: August 25, 2017, 01:18:04 AM
How can I disable the edit-mode when double-click on a row? I still want to edit a row when using the pagination button.
5  General Category / EasyUI for jQuery / datagrid remote sort and multisort on: August 24, 2017, 11:09:36 PM
How to deal with remote sort and multisort?
6  General Category / EasyUI for jQuery / Re: datagrid checkbox on: August 24, 2017, 11:07:52 PM
That is what I allready did. But the example is in html and my code in javascript.
There might be a difference.
could you give me a working example in javascript?
7  General Category / EasyUI for jQuery / datagrid checkbox on: August 24, 2017, 01:12:32 AM
multiselect doesn't work:

,{field:'OLT00L001T_KEY',title:'LandKey'   ,width:130,sortable:'true',hidden:'true'}
   ,{field:'ch',checkbox:true/*,singleSelect:false*/}

I can select only one row regardless what I do with singleSelect. Select-All-Button in column header doesn't work neihter.

What to do?
8  General Category / EasyUI for jQuery / Re: datagrid - multisort on: August 24, 2017, 12:45:38 AM
but can do a remote sort AND use multisort?
9  General Category / EasyUI for jQuery / datagrid with checkbox on: August 16, 2017, 11:18:52 PM
I have a datagrid with checkbox-column.
How to process the amount of records that have been selected?
Is there an example?
thanks
10  General Category / EasyUI for jQuery / Re: datagrid - column appearance regarding parameter on: August 16, 2017, 11:16:23 PM
could you please give me a brief example regarding on my snippet. Thanks.
11  General Category / EasyUI for jQuery / datagrid - multisort on: August 16, 2017, 10:35:20 PM
I set the property multisort to true. within the column header appear the arrow to show which columns are sorted. But it still sorts only the first selected column.
Why is that?

What i found out is that if i set the remoteSort Property to false it does the multiSort but only with the visible page of the datagrid. Not with the whole data-set which is selected. so if I have 3 pages of data it then sorts only the actual selected one.
How to deal with that?

...
 ]]//columns
  ,toolbar     : '#tobAusbilder'
  ,url         : 'partner.act.php?frm=frmPFA&act=T&for=' + vFOR
  //,saveUrl     :
  //,updateUrl   : 'partner.act.php?frm=frmPFA&act=U'
  //,destroyUrl  : 'partner.act.php?frm=frmPFA&act=D'
  ,remoteSort  : 'true'
  ,multiSort   : 'true'
  ,idField     : 'OLT20A009T_KEY'
  ,queryParams : {sort: 'PFA_NAME'}
  ,rownumbers  : false
  ,autoSave    : 'false'
  ,singleSelect: 'true'
  ,pagination  : 'true'
  ,pageSize    : 30
  ,pageList    : [20,30,40,50]
  ,pagePosition: 'top'
...
12  General Category / EasyUI for jQuery / datagrid - column appearance regarding parameter on: August 14, 2017, 10:35:44 PM
Is there a way to show or hide columns within a datagrid depending on a parameter? How to do that?

In the following sample I want to deal with that depending on the value of variable vPAR

sample:
$(function(){

 var vPAR = $('#vPAR').val();
 //alert(vPAR);

 $('#edgFirma').edatagrid({
  title : 'Firma',
  iconCls:'icon-firma',
  width:'100%', 
  height:'auto',
  collapsible : 'true',

  columns:[[ 
    {field:'OLT20A004T_KEY',title:'MandantKey',width:130,sortable:'true',hidden:'true'} 
    ,{field:'OLT20A006T_KEY',title:'AdressKey' ,width:130,sortable:'true',hidden:'true'} // if vPAR == 1 the column should be shown
   ,{field:'OLT20A015T_KEY',title:'QuelleKey' ,width:130,sortable:'true',hidden:'true'}
   ,{field:'OLT00L001T_KEY',title:'LandKey'   ,width:130,sortable:'true',hidden:'true'}
   ,{field:'PMA_NAME',title:'Mandant',width:150,sortable:'true',hidden:'true'
     ,editor:{ type:'textbox'
              ,options:{ required:true
                     ,disabled:true
                     ,prompt:'Mandant...'
                     ,missingMessage: 'Geben Sie den Mandanten ein.'
                  }
          }//editor
   }
13  General Category / EasyUI for jQuery / Character-Set - mutated vowel on: July 14, 2017, 12:17:05 AM
hi, I have a strange behavier of displaying characters in tooltips and drop-down-menues. Huh

If I put it like that

  ,{field :'CST_CURRENCY',title:'Währung',width:100,sortable:'true',align:'left'
     ,editor  : {
        type   :'combobox'
      ,options:{
         valueField:'CST_CURRENCY'
        ,textField:'CST_DES'
       ,url:'zuchtperiode.lkp.cur.json'
       ,value   : 'EUR'
       ,required:true
       ,editable:true
       ,prompt:'Währung...'
       ,missingMessage: 'Wählen Sie die Währung aus.'
       }

I get this as result: x1.jpg

If I put it like this:

 ,editable:true
       ,prompt:'Währung...'
       ,missingMessage: 'Wählen Sie die Währung aus.'

I get this as result: x2.jpg

Why can I not use the real character: ä Huh
And how can I get the appearance of the drop-down prompt right?

Thanks.
jaimi




14  General Category / EasyUI for jQuery / Re: datagrid disable editmodus on: October 19, 2016, 08:59:55 PM
thx
15  General Category / EasyUI for jQuery / datagrid disable editmodus on: October 19, 2016, 01:18:41 AM
How can I avoid that a row switches into edit-mode on duble-click?
Pages: [1] 2 3 ... 8
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!