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
|
|
|
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?
|
|
|
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. 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: ä And how can I get the appearance of the drop-down prompt right? Thanks. jaimi
|
|
|
|