RSS
热门关键字:  java  Ajax  JSP  JSF  Struts
当前位置 : 首页>Ruby>列表

rails集成extjs

来源: 作者: 时间:2007-09-19 点击:
  •             root: 'Movies',  
  •             totalProperty: 'Total',  
  •             id: 'id'  
  •         }, [  
  •             {name: 'title', mapping: 'title'},  
  •             {name: 'plot', mapping: 'plot'},  
  •             {name: 'release_year', mapping: 'date'},  
  •             {name: 'genre', mapping: 'genre'},  
  •             {name: 'mpaa', mapping: 'mpaa'},  
  •             {name: 'directed_by', mapping: 'directed_by'}  
  •         ]),          
  •         // turn on remote sorting  
  •         remoteSort: true      
  •     });  
  •   
  •     var cm = new Ext.grid.ColumnModel  
  •         ([{  
  •            id: 'title',  
  •            header: "Title",  
  •            dataIndex: 'title',  
  •            width: 250  
  •         },{  
  •            header: "Release Year",  
  •            dataIndex: 'release_year',  
  •            width: 75  
  •         },{    
  •            header: "MPAA Rating",  
  •            dataIndex: 'mpaa',  
  •            width: 

  • 最新评论共有 0 位网友发表了评论
    发表评论
    评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
    用户名: 密码:
    匿名?
    注册
    Google Adsense
    相关文章