关于flex开发网上有非常多的相关信息介绍,因此我们要想学习关于flex开发的知识信息技能是一件非常简单和方便的事情。而针对于flex开发小编要告诉大家的是一些flex开发小技巧。利用这些小技巧能够有助于我们更好的完成flex开发操作任务。具体内容如下:
public class LoginLogController : BusinessController<LoginLog, LoginLogInfo>
    {
        public LoginLogController() : base()
        {
        }

界面部分代码如下所示。
        //实现对DataGird控件的绑定操作
        function InitGrid(queryData) {
            $('#grid').datagrid({   //定位到Table标签,Table标签的ID是grid
                url: '/LoginLog/FindWithPager',   //指向后台的Action来获取当前用户的信息的Json格式的数据
                title: '用户登陆日志', 
                //下面的这些属性如果谁不太清楚的话我建议去官方网站去学习
                iconCls: 'icon-view',
                height: 450,
                nowrap: true,
                autoRowHeight: false,
                striped: true,
                collapsible: true,
                pagination: true,
                rownumbers: true,
                //sortName: 'ID',    //根据某个字段给easyUI排序
                sortOrder: 'asc',
                remoteSort: false,
                idField: 'ID',
                queryParams: queryData,  //异步查询的参数
                columns: [[
                    { field: 'ck', checkbox: true },   //选择
                    { title: 'ID', field: 'ID', width: 40, sortable: true },  //主键
                     { title: '登录用户ID', field: 'User_ID', width: 80, sortable: true },
                     { title: '登录名称', field: 'LoginName', width: 80, sortable: true },
                     { title: '真实名称', field: 'FullName', width: 80, sortable: true },
                     { title: '日志描述', field: 'Note', width: 100, sortable: true },
                     { title: 'IP地址', field: 'IPAddress', width: 100, sortable: true },
                     { title: 'Mac地址', field: 'MacAddress', width: 120, sortable: true },
                     { title: '系统编号', field: 'SystemType_ID', width: 120, sortable: true },
                     { title: '记录日期', field: 'LastUpdated', width: 120, sortable: true },
                ]],
                toolbar: [{
                    id: 'btnAdd',
                    text: '添加',
                    iconCls: 'icon-add',
                    handler: function () {                        
                        ShowAddDialog();//实现添加记录的页面
                    }
                }, '-', {
                    id: 'btnEdit',
                    text: '修改',
                    iconCls: 'icon-edit',
                    handler: function () {                        
                        ShowEditOrViewDialog();//实现修改记录的方法
                    }
                }, '-', {
flex开发的小技巧除了是小编上述的介绍之外还有很多。在网上相关的信息也可以找到。因此我们要想了解更多的flex开发小技巧也可以是自己通过网络查找的方式来获取。但是在这个过程中大家要注意信息真伪的辨别,便于更好的学习flex开发知识技能。

最新文章

  1. 在公有云AZURE上部署私有云AZUREPACK以及WEBSITE CLOUD(四)
  2. iOS之在写一个iOS应用之前必须做的7件事(附相关资源)
  3. java枚举类型学习
  4. Sublime插件支持Sass编译和Babel解析ES6 &amp; .sublime-build文件初探
  5. mysqli的增强功能
  6. uimodalpresentationformsheet resize ios7
  7. Delphi反汇编内部字符串处理函数/过程不完全列表
  8. 学习和理解C#中的事件
  9. github使用入门 之GIT GUI Windows版
  10. php中strstr、strrchr、substr、stristr四个函数的区别总结
  11. sql 根据字段查询不同表
  12. 来手撸一个小小小小小&quot;3D引擎&quot;
  13. Go语言基础(二)
  14. Sql server 2014 数据库还原奇异现象
  15. 我的新书《Android App开发从入门到精通》终于出版啦
  16. vue-electron脚手架安装及说明 打包基于Vue的 桌面应用程序
  17. BP神经网络算法推导及代码实现笔记zz
  18. 浅析原生js模仿addclass和removeclass
  19. Hadoop格式化 From hu-hadoop1/192.168.11.11 to hu-hadoop2:8485 failed on connection exception: java.net.
  20. 812. Largest Triangle Area

热门文章

  1. binary 和 varbinary
  2. 173. Binary Search Tree Iterator
  3. 初始化一台linux server来做项目管理和测试
  4. BIG5编码表
  5. Android 签名(5)用命令签名和用IDE签名
  6. poj 2240 Arbitrage (最短路 bellman_ford)
  7. Switch基本知识
  8. JXL读取Excel日期时间不准确
  9. POJ3921
  10. JSOI2015 R3 退队滚粗了