EasyUI Forum
November 24, 2017, 02:06:56 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1] 2 3 ... 10
 1 
 on: November 23, 2017, 11:42:47 PM 
Started by frankgao - Last post by frankgao
One row json,here one column name is content,and this content is json.
so,it's can not display in datagrid?

Code:
{"total":1,"rows":[{"syssmsid":"5685","syssmssendid":"13603","title":"test","contents":"{  "sites": [  { "name":"facebook" , "url":"www.facebook.com" },   { "name":"google" , "url":"www.google.com" },   { "name":"google plus" , "url":"www.google.com" }  ]  }","builddate":"2017-11-23 17:18:59","emname_st":"Name","type":"2","builder":"1","flag":"False","rownumber":"1"}]}

Code:
"contents":"{  "sites": [  { "name":"facebook" , "url":"www.facebook.com" },   { "name":"google" , "url":"www.google.com" },   { "name":"google plus" , "url":"www.google.com" }  ]  }"

 2 
 on: November 23, 2017, 02:55:54 AM 
Started by iskandarkbr - Last post by iskandarkbr
well done jarry, thank alot

now, i got new problem using $.messeger.progress,
why it appears last time, after execute codes behind.

$.messager.progress({
   title:'Wait',
   msg:'searching...'
}).dialog('dialog').css('z-index', 9999999);
next code #1;
next code #2;
next code #3;

why the messeger show after 'next code #3' executed, not first instead?

 3 
 on: November 22, 2017, 02:58:42 AM 
Started by sectioni - Last post by sectioni
That one I already knew Smiley

I have 30 datagrids in my system..

 4 
 on: November 21, 2017, 06:46:43 PM 
Started by Oliver - Last post by stworthy
1. Many components have the 'onChange' event. Define this event handler and attach to the editing row.
Code:
{"name":"Address","value":"","group":"ID Settings",
    "editor":{
        "type":"textbox",
        "options":{
            "onChange":function(value){
                console.log(value)
            }
        }
    }
}

2. If the editing row is valid, the 'onAfterEdit' event fires, otherwise the 'onCancelEdit' event fires. If your 'onAfterEdit' event does not fire, please check your code to see if the editing row is invalid and the 'onCancelEdit' event fires.

3. Please define the 'formatter' function to display the hex code with colour.

 5 
 on: November 21, 2017, 07:23:16 AM 
Started by Oliver - Last post by Oliver
Hi together,

could somebody please help with some questions to the propertygrid:

1. is there a way to raise an event, immediatly as soon as the user performs any change (eg when he activates/deactivates the checkbox or selects an another entry of a list/combo ? Currently, I only know the afteredit event, but that requires the user to leave the row or press the enter key

2. sometimes, the after edit event is not fired from the last propertygrid row. Only the last row is affected and it is not consistently reproducable. Is there a patch7workaround to avoid this ?

3. I implemented the colorpicker and it works well. But how can I acbieve, that the cell shows both a box with the selected color and the color hexcode, after change has completed ?

I use V1.5.3 and the patch
Thank you and best regards
Oliver

 6 
 on: November 21, 2017, 01:46:51 AM 
Started by sectioni - Last post by jarry
Try this code:
Code:
$('#dg').datagrid({
  onLoadSuccess: function(data){
    if (data.rows.length){
      $(this).datagrid('scrollTo', 0);
    }
  }
})

 7 
 on: November 21, 2017, 01:41:41 AM 
Started by iskandarkbr - Last post by jarry
Set the 'z-index' css style after displaying the message dialog.
Code:
var win = $.messager.progress({
title:'Please waiting',
msg:'Loading data...'
});
win.dialog('dialog').css('z-index', 9999999);

 8 
 on: November 20, 2017, 09:10:23 PM 
Started by iskandarkbr - Last post by iskandarkbr
I use combotree's extend keyhandler to query node in its tree panel.
While searching process, i want to show $.messager.progress .
It works, but the $.messager.progress appears behind the combotree's panel.

How to show $.messager.progress on top of combotree's panel ?

thanks a lot

 9 
 on: November 20, 2017, 09:59:36 AM 
Started by sectioni - Last post by sectioni
Hi,

I want to do that when i change page, the table will auto-scoll to the top.

I tried something like this but no luck:

 $.extend($.fn.pagination.defaults, {
     onSelectPage: function (pageNumber, pageSize) { $(this).datagrid("scrollTo", 0); }
 });

 10 
 on: November 20, 2017, 12:21:35 AM 
Started by tumbas - Last post by jarry
No other validTypes provided. It is easy to extend a validType. Here is an example shows the 'minLength' validType definition.
Code:
$.extend($.fn.validatebox.defaults.rules, {
    minLength: {
        validator: function(value, param){
            return value.length >= param[0];
        },
        message: 'Please enter at least {0} characters.'
    }
});

Pages: [1] 2 3 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!