- 浏览: 211142 次
- 性别:
- 来自: 北京
最新评论
-
zlbdexiaohao:
怎么去掉默认的图标,folderClosedIcon=&quo ...
FLEX 构建完美的带有CheckBox三状态的Tree控件 -
zlbdexiaohao:
看不懂看不懂
FLEX 构建完美的带有CheckBox三状态的Tree控件 -
FYIHDG:
[list][*][list][*][*][list][*][ ...
ImageIO读jpg的时候出现exception:bandOffsets.length is wr -
被剥削的程序员:
你好我在引用你的comboxtree解决问题的时候,发现点击父 ...
ComboBoxTree -
527184687:
[flash=200,200][url][img][list] ...
ext treePanel 更换图标 总结
文章列表
写一个查询条件时的问题如下:
如我想写一个字段中包含“李”字的所有记录
$str="李";
select * from table where field like '%$str%' ;
显示的记录中除了包含”李”字的记录,还有不包含“李”字的记录。为什么?
在MySQL中,进行中文排序和查找的时候,对汉字的排序和查找结果是错误的。这种情况在MySQL的很多版本中都存在。如果这个问题不解决,那么MySQL将无法实际处理中文。
出现这个问题的原因是:MySQL在查询字符串时是大小写不敏感的,在编绎MySQL时一般以ISO-8859字符集作为默认的字符集,因此在比较过 ...
- 2009-07-21 10:13
- 浏览 1681
- 评论(0)
/*
* Ext JS Library 2.1
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.app.SearchField = Ext.extend(Ext.form.TwinTriggerField, {
initComponent : function(){
Ext.app.SearchField.superclass.initComponent.call(this);
...
- 2009-07-18 19:14
- 浏览 2549
- 评论(0)
/**
* Page Size Plugin for Paging Toolbar
*
* @author wjc
*/
Ext.ux.PageSizePlugin = Ext.extend(Ext.form.ComboBox, {
store: new Ext.data.SimpleStore({
fields: ['text', 'value'],
data: [['5', 5], ['10', 10], ['15', 15], ['20', 20], ['25', 25], ['50', ...
- 2009-07-18 14:10
- 浏览 2088
- 评论(0)
Ext.namespace('Ext.ux.PagingToolbarEx');
Ext.ux.PagingToolbarEx = Ext.extend(Ext.PagingToolbar, {
space : ' ',
beforePageText : '',
afterPageText : '',
randomId : 0,
formArrays : function(arys, cur_page) {
for(var i=0; i<arys.length; i++) {
...
- 2009-07-18 13:52
- 浏览 2257
- 评论(0)
分页后可保存checkbox的选择状态。
/**
* 封装的grid
* 功能:分页后仍保持选中状态
* 约定:root为list, totalProperty为total, grid的第一列必须为id
*/
Ext.namespace('Ext.ux.grid');
Ext.ux.grid.MyGrid = Ext.extend(Ext.grid.GridPanel,{
...
- 2009-07-14 14:43
- 浏览 1183
- 评论(0)
//*****************************************上传的公共js***************************************************************//
/**
* 约定:types为调用时传来的参数.形式为jsp-gig-png
* uploadid为上传后要填充路径的控件id
* 上传的属性均为upload
* 功能:页面调用openUpload("","");方法即可
*/
//...允许上传的后缀 ...
- 2009-07-14 14:39
- 浏览 1757
- 评论(1)
// 第一个下拉框
var parentStore = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({
url: 'loadByParentid.action?parentid=1001'
}),
reader: new Ext.data.JsonReader({
root: 'list',
id: 'id'
}, [
{name: 'id', mapping: 'id'},
{name: 'mc', mapping: 'name'}
])
});
// ...
- 2009-07-14 14:37
- 浏览 1840
- 评论(0)
var comboxWithTree = new Ext.form.ComboBox({
store:new Ext.data.SimpleStore({fields:[],data:[[]]}),
editable:false,
shadow:false,
mode: 'local',
triggerAction:'all',
maxHeight: 200,
tpl: '<tpl for="."><div style="height:200px"><div id="tr ...
- 2009-07-14 14:34
- 浏览 1062
- 评论(0)
1.动态更换图标:
代码
node.on('click',function(node){
node.getUI().getIconEl().src = 'img/1.gif';
});
2.覆写 Ext.tree.TreeLoader 的 createNode
Ext.tree.MyTreeLoader = function(config) {
Ext.tree.MyTreeLoader.superclass.constructor.call(this, config);
};
Ext.extend(Ext.tree.MyTreeLoader, E ...
- 2009-07-14 14:33
- 浏览 7056
- 评论(2)
var Tree = Ext.tree;
Ext.onReady(function(){
var vport=new Ext.Viewport(
{
enableTabScroll:true,
layout:"border",
items:[
{
title:"导航菜单",
region:'west',
id:'ma',
width:200,
collapsible:tr ...
- 2009-07-13 13:37
- 浏览 2884
- 评论(0)
经测试 可以用,并且做了修改可以兼容以前的代码格式
Ext.namespace("Ext.ux.data");
/** * @class Ext.ux.data.DwrProxy
* @extends Ext.data.DataProxy
* @author loeppky
* An implementation of Ext.data.DataProxy that uses DWR to make a remote call.
* Not all of Ext.data.DataProxy's configuration options ma ...
MyEclipseGen.java
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class MyEclipseGen {
private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyr ...
- 2009-07-12 20:02
- 浏览 3273
- 评论(0)
spket最好用了,而且它还支持ext,安装起来很简单.....
1、选择Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site...
Name: "Spket", Url: "http://www.spket.com/update/"下载完毕重启 Eclipse
2、Window -> Preferences -> Spket -> JavaScript ...
- 2009-07-11 12:40
- 浏览 2283
- 评论(1)
具体的工程步骤:
首先,我们来搭建WEB服务端的程序:
这时,我们需要下载一个JAR。名为extdirect4j-0[1].3.1-source.jar,目前是最新版吧。因为这个包用到GG一些办法,那么,我们还需要下载gson-1.3.jar。
接下来,这些写一个继承ExtDirectRouter的类,如下面:
package com;
import ch.swissdotnet.extdirect4j.AnnotatedAction;
import ch.swissdotnet.extdirect4j.ExtDirectRouter;
import ch.swissdotne ...
- 2009-07-11 11:14
- 浏览 2966
- 评论(0)
package util;
import java.awt.*;
import javax.swing.*;
import java.awt.color.*;
public class ColorTranslate {
ICC_Profile ICC_pf;
ICC_ColorSpace ICC_ClSpace;
//以下变量存储CMYK颜色值,取值为0到100
int C = 9;
int M = 9;
int Y = 9;
int K = 9;
//初始化ICC_Profile和ICC_ColorSpace类对象
publ ...
- 2009-07-10 14:02
- 浏览 4402
- 评论(1)