EasyUI Forum
May 08, 2024, 05:46:58 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / General Discussion / Display problems ... on: December 09, 2014, 09:23:33 AM
hello,
Just two quick questions:
1) When the page is displayed, the Javascript code is not executed immediately. causing a flutter: html display and then applying css easyui.
2) After several reload a datagrid, the columns are not sized, all columns are packed to the left. you must reload the page to get a decent view.

I tried to load the javascript sources in the body and in the header of my page but no results.

Do you have any idea?

Thank you.
2  General Category / EasyUI for jQuery / Re: managing a treegrid on: October 14, 2014, 12:16:14 AM
Help me, please ....
3  General Category / EasyUI for jQuery / Re: managing a treegrid on: October 13, 2014, 01:38:56 AM
Sorry, this is a mistake in the translation .   Shocked
The editor is type 'numberbox.
4  General Category / EasyUI for jQuery / managing a treegrid on: October 10, 2014, 02:43:43 AM
hello,

I'm stuck in managing a treegrid:
1) I want to retrieve the relative value of a cell of a node and modified.

2) I wish all publishers resizer a row because they are smaller than the container.
   I have tried:
Code:
var editors = $ ('# tg') treegrid ('getEditors' rowIndex);
But as I dynamically creates publishers,
Code:
var col = $ (this) .treegrid ('getColumnOption', 's_raf'); 
col.editor = 'NumberBox;
I think they are still available ... so editors is null

Can you help me?
5  General Category / EasyUI for jQuery / Re: apply filters on a column of treegrid. on: September 17, 2014, 08:27:59 AM
thank you,
Yet I looked for a long time ...
Correction made​​, it works, but as the combobox does not retain the selected value, the loop function ...

Question: where to find documentation "doFilter"?

A little help ...
Sorry to be so null  Huh
6  General Category / EasyUI for jQuery / draggable treegrid columns on: September 17, 2014, 08:05:41 AM
hello,
I used the excellent topic "draggable datagrid columns" (thank stworthy).

Unfortunately, I encounter the following problems:
  • You can not move columns "frozen", only the other columns can be moved,
  • Data are not moved with the column,

Do you have a solution?
thank you
7  General Category / EasyUI for jQuery / apply filters on a column of treegrid. on: September 17, 2014, 06:59:59 AM
hello,
I would like to apply filters on a column of treegrid.
I downloaded and set the filter as follows the current version of "datagrid-filter.js" on http://www.jeasyui.com/extension/datagrid_filter.php:
Code:
$(this).treegrid('enableFilter',[
{
    field:'serStatut',
    type:'combobox',
    options:{
    panelHeight:'auto',
    data:[{value:'',text:'Tous'},{value:'0',text:'Non'},{value:'1',text:'Oui'}],
    onChange:function(value){
        if (value == ''){
        $(this).treegrid('removeFilterRule', 'serStatut');
        } else {
        $(this).treegrid('addFilterRule', {
                field: 'serStatut',
                op: 'equal',
                value: value
            });
        }
        $(this).treegrid('doFilter');
                    }
}
}]);
At runtime, the following error message appears:
Code:
TypeError: $.data(...) is undefined
var _6e1=$.data(jq[0],"datagrid").options;

Can you help me?
thank you
8  General Category / EasyUI for jQuery / Re: Looking for a editor into PropertyGrid on: September 05, 2014, 04:11:28 AM
Thank you for the reply,
My problem was elsewhere ...

Now everything is ok
9  General Category / EasyUI for jQuery / Re: Looking for a editor into PropertyGrid on: September 04, 2014, 02:00:58 AM
Thank you for your answer, actually the editor is instantiated.

But I still have a problem with updating the textbox:
Code:
var ed = $(editor.target);
ed.textbox('setValue',colorService);
The error is:
Quote
TypeError: $.data(...) is undefined
var opts=$.data(this,"textbox").options;  jquery.....min.js (ligne 6284, col. 4)
   
10  General Category / EasyUI for jQuery / Looking for a editor into PropertyGrid on: September 03, 2014, 06:06:10 AM
Hello,

Problem when looking for a éditor.
Content:
Code:
rowData
Object { field="serCouleur", name="Couleur", value="#C1C6D1", plus...}
editor
Object { type="textbox", options={...}}
JavaScript:
Code:
$("#proprietes_KlkAdmService_249").propertygrid({
    onBeginEdit: function(rowIndex, rowData){
        if (rowData.field == 'serCouleur'){
var editor = $("#proprietes_KlkAdmService_249").propertygrid('getEditor',{index:rowIndex,field:'serCouleur'});
    .....
The result is always Null.

Can you help me?
11  General Category / EasyUI for jQuery / Re: PropertyGrid disabled editor text or textbox on: September 01, 2014, 04:57:26 AM
Thank you for that clarification, everything works now
12  General Category / EasyUI for jQuery / Re: PropertyGrid disabled editor text or textbox on: August 29, 2014, 06:19:01 AM
Below is my json return procedure:
Code:
[{"field":"serLibelle","name":"Libell\u00e9 Service "," value ":" Service 4","editor":{"type":"text","options":{"readonly":false,"disabled":false,"multiline":true,"editable":true}}}, 
{"field":"serCouleur","name":"Couleur","value":"","editor":{"type":"text","options":{"readonly":true,"disabled":true,"multiline":false,"editable":false}}}]
13  General Category / EasyUI for jQuery / PropertyGrid disabled editor text or textbox on: August 29, 2014, 03:40:49 AM
Hello there,

In a PropertyGrid, I use an editor such as 'text' and I want to make it disabled.

So in my editor, I added the option "
Code:
disabled: true
" but no results, I can always enter a value.

I tried with "textbox" is ok but if I change "
Code:
disabled: false
" I still can not enter a value.

Can you help me?

thank you
14  General Category / EasyUI for jQuery / Re: Search parent of a popup dialog on: July 09, 2014, 12:30:40 AM
Thank you for this answer, but if I put the property 'inline' is true, the dialog is no longer centered in the window and is no longer modal.

How to solve these problems?
15  General Category / EasyUI for jQuery / Search parent of a popup dialog on: July 08, 2014, 06:05:31 AM
Hi,

I display the popup dialog like this:
Code:
$('#popup').panel({
            href: 'url',
            onLoadError: function(){....},
});

In the code 'url', I would like to know the id of the panel container.
If I ask:
  
Code:
$('# dialog').parent();
the answer is''
  
Code:
$('# dialog').dialog ('panel');

the answer is''

How to find '#popup' ?

thank you

Excuse me for my approximate English ... ...
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!