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.
|
|
|
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: var editors = $ ('# tg') treegrid ('getEditors' rowIndex); But as I dynamically creates publishers, var col = $ (this) .treegrid ('getColumnOption', 's_raf'); col.editor = 'NumberBox; I think they are still available ... so editors is null Can you help me?
|
|
|
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: $(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: TypeError: $.data(...) is undefined var _6e1=$.data(jq[0],"datagrid").options; Can you help me? thank you
|
|
|
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: var ed = $(editor.target); ed.textbox('setValue',colorService);
The error is: 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: rowData Object { field="serCouleur", name="Couleur", value="#C1C6D1", plus...} editor Object { type="textbox", options={...}}
JavaScript: $("#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?
|
|
|
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: [{"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 " " but no results, I can always enter a value. I tried with "textbox" is ok but if I change " " I still can not enter a value. Can you help me? thank you
|
|
|
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: $('#popup').panel({ href: 'url', onLoadError: function(){....}, });
In the code 'url', I would like to know the id of the panel container. If I ask: the answer is'' $('# dialog').dialog ('panel'); the answer is'' How to find '#popup' ? thank you Excuse me for my approximate English ... ...
|
|
|
|