Ext 工作笔记

    xiaoxiao2022-07-05  147

    1.Ext页面传值问题

    引用界面  items:[

    xtype:‘A’

    fileId:me.fileId   //获取fileId

    ]

     

    A页面中

    取值

    fileId:‘’

     

    2.EXT前端访问后台

    Service.syncCall("类","方法名",参数)

     

    3.Ext中对比两个List<String> 中的值

    for(var i=0;i<store.getCount();i++){

         var record=store.getAt(i);

         if(selIns.indexOf(record.get("id"))>-1){

         ..........................

        }

    }

     

     

    3.Ext 设置选择框为被选中

    me.getSelectionModel().select(record,true);

    最新回复(0)