EasyUI Forum
September 14, 2025, 01:44:34 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 / EasyUI for jQuery / Re: upgrated easyui version 1.2.5 -> 1.3.6 datagrid problem on: July 20, 2014, 11:55:47 PM
Please download the newest easyui version from http://www.jeasyui.com/download/index.php.

thanks i recopy the file and it works.
2  General Category / EasyUI for jQuery / Re: upgrated easyui version 1.2.5 -> 1.3.6 datagrid problem on: July 20, 2014, 11:49:43 PM
Please download the newest easyui version from http://www.jeasyui.com/download/index.php.

I just download 1.3.6 from "http://www.jeasyui.com/download/index.phpGrin
3  General Category / EasyUI for jQuery / upgrated easyui version 1.2.5 -> 1.3.6 datagrid problem on: July 20, 2014, 11:28:47 PM
an old project (MVC)  use version 1.2.5 and jquery 1.5.1
and now i want to upgrated to 1.3.6 and jquery 1.9.0

and the layout is shown as blow

is there any file should be upgrated too?  (i have copy all the files from "themes"  to my project )

thanks.
4  General Category / EasyUI for jQuery / Re: combobox use "editable: false" layout is a little change on: July 18, 2014, 02:09:00 AM
Please update the EasyUI to the newest version. It can be downloaded from http://www.jeasyui.com/download/index.php.

thanks,if i use the newest version EasyUI 1.3.6,the whole page layout has changed.
and in the package , the jquery version is 2.0  ,and  a lot of  end users  just use IE8.
5  General Category / EasyUI for jQuery / combobox use "editable: false" layout is a little change on: July 18, 2014, 01:39:11 AM
combobox

if i use  the "editable: false"  the combobox layout is a little change(see attachments)
when the mouse move on it, it will be ok.

how to slove the problem? Thanks
6  General Category / EasyUI for jQuery / How can I set the combobox onselected background colour? on: July 16, 2014, 07:19:51 PM
from the document, the background is yellow as below

but my project is lightgrey. How can i set the option to change it?
7  General Category / EasyUI for jQuery / Re: MVC3 + Json + uasyui combobox on: July 15, 2014, 02:02:13 AM
thank you!

i also use this action, it works

Code:
        public JsonResult GetFatherMenu()
        {
  var q = from e in db.MENUS_V
    where e.MENU_ID > 0
    select new
    {
menu_id = e.MENU_ID,
menu_name = e.MENU_NAME
    };
            var result = q.ToList();
            JsonResult json = new JsonResult();
            json.Data = q.ToList();
            return Json(json.Data, JsonRequestBehavior.AllowGet);
        }

8  General Category / EasyUI for jQuery / MVC3 + Json + uasyui combobox on: July 15, 2014, 01:38:24 AM
I am using MVC3 and combobox

my cshtml is
Code:
<script type="text/javascript">

    $('#c_MENU_ID').combobox({
        url: '@Url.Action("GetMenu","Menu")'
    });
</script>
and action is

Code:
public JsonResult GetFatherMenu()
{
    var q = from e in db.MENUS_V
    where e.MENU_ID > 0
    select new
    {
menu_id = e.MENU_ID,
menu_name = e.MENU_NAME
    };
    var result = q.ToList();
    Dictionary<string, object> json = new Dictionary<string, object>();
    json.Add("total", q.ToList().Count);
    json.Add("rows", result);
    return Json(json, JsonRequestBehavior.AllowGet);
}


Now i know that the combo box only accept
[{
"MENU_ID":1,
"MENU_NAME":"text1"
},{
"MENU_ID":2,
"MENU_NAME":"text2"
}]

not
{"rows":
[{
"MENU_ID":1,
"MENU_NAME":"text1"
},{
"MENU_ID":2,
"MENU_NAME":"text2"
}]
}

what can i do in the action to return the correct json? Thanks
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!