`
wdky0429
  • 浏览: 18912 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
给GridView添加CustomDrawRowIndicator事件代码 private void gridView1_CustomDrawRowIndicator(object sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e) { if (e.Info.IsRowIndicator && e.RowHandle >= 0) { e.Info.DisplayText ...
给girdview添加MouseDown事件代码 private void gridView1_MouseDown(object sender, MouseEventArgs e) { DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo hInfo = gridView1.CalcHitInfo(new Point(e.X, e.Y)); if (e.Button == MouseButtons.Left && e.Clicks == 2) ...
... ....... initComponent:function() { Ext.apply(this, { items : new Ext.util.MixedCollection(false), usedRecords : new Ext.util.MixedCollection(false), addedRecords : [], remoteLookup : [], hideTrigger ...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> <!-- A.mytest:link { FONT-SIZE: 12px; COLOR: #5b5b5b; TEXT-DECORATION: none } A.mytest:visited { FONT-SIZE: 12px; COLOR: #96969 ...
项目需要store.load()成功后,对返回的json转换成不带有属性名的数组. 所以写个方法在store load方法的callback中调用对返回的Ext Recond[] 数据进行转换. /** * Ext Recond[] 转成 特定数组 * 如 reconds 为 {姓名:张三,年龄:20},{姓名:李四,年龄:21} 转成 [张三,20],[李四,21] * @param {} r Ext Record[] * @return {} */ function JSON2ARRAY(r) { var resultArray = []; var ...
DoctorWorkStation_CommonDoctorAdvice.CreateYZCheckBoxWin = function(store, colnum,title) { var count = store.getCount(); var myCheckboxItems = []; for (var i = 0; i < count; i++) { var boxLabel = store.getAt(i).get("name"); var name = store.getAt(i).get("id"); my ...
首先装一个mysql的驱动程序:mysql-connector-odbc-5.1.5-win32.zip解压点击setup即可,可能会碰到与java运行时有冲突,点击yes即可。 下一步下个mysql-connector-java-5.1.6-bin.jar,把它放在java-sdk的lib库里。 在管理工具的odbc数据源里用户DSN选项卡里添加:mysql odbc 5.1.5 Driver在connector中login选项卡添加: DataSourceName:user(这里是程序要使用到的名字) server:localhost user:root password:123 ...
Global site tag (gtag.js) - Google Analytics