初学ExtJs,做项目的时候想做一个这样的效果:点击按钮弹出对话框,之前一直是使用EasyUi来做的, EasyUi里有Dialog,用起来很方便,但是现在转移到ExtJs上后,发现没有Dialog这样的框架,在网上找了没有找到这样的 控件,于是搜索一下关于ExtJs 对话框的实现方法,现在将实现结果贴出来,如果有什么想法,希望多多留言! Ext.get("btn_edit").on("click", function () { var form = new Ext
遇到的问题是MANYTOMANY的选项太多,默认的DJANGO一个多选框搞得人蛋疼, 于是作了一个扩展,不是最好的,但方便多啦.. 也是在昨天说过的各个app的admin.py里操作: from django.forms import CheckboxSelectMultiple # Register your models here. class SiteForm(forms.ModelForm): class Meta: forms.model = Site widgets = { 'app
//// ViewController.h// UIAlertViewAndUIActionSheet//// Created by hehe on 15/9/21.// Copyright (c) 2015年 wang.hehe. All rights reserved.// #import <UIKit/UIKit.h> @interface ViewController : UIViewController<UIAlertViewDelegate,UIActionSheet