zTree实现获取一级节点数据
1、实现源码
zTree实现基本树
<!--
var setting = {
data: {
simpleData: {
enable: true
}
}
};
var zNodes =[
{ id:1, pId:0, name:"湖北省", open:true...
分类:
其他好文 时间:
2014-05-23 08:20:00
阅读次数:
378
zTree实现删除树子节点
1、实现源码
zTree实现基本树
<!--
var setting = {
data: {
simpleData: {
enable: true
}
}
};
var zNodes =[
{ id:1, pId:0, name:"湖北省", open:true},...
分类:
其他好文 时间:
2014-05-23 08:08:12
阅读次数:
214
zTree实现删除树节点
1、实现源码
zTree实现基本树
<!--
var setting = {
data: {
simpleData: {
enable: true
}
}
};
var zNodes =[
{ id:1, pId:0, name:"湖北省", open:true},...
分类:
其他好文 时间:
2014-05-22 12:40:44
阅读次数:
288
Gallery和swithcer联合使用
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complian...
分类:
其他好文 时间:
2014-05-22 11:19:05
阅读次数:
288
zTree实现单独选中根节点中第一个节点
1、实现源码
zTree实现基本树
<!--
var setting = {
data: {
simpleData: {
enable: true
}
}
};
var zNodes =[
{ id:1, pId:0, name:"湖北省", open...
分类:
其他好文 时间:
2014-05-22 08:54:06
阅读次数:
309
当GridPanel被添加到容器,且容器的layout为vbox时候, 会出现 Layout run failed 后者GridPanel的尺寸没有撑满父容器
网上找到的解决办法是,要给父容器设置一个高度,但问题是,高度没有办法定死。切写死后,也没有解决此问题。
此时修改父容器的layout为
layout: {
type: 'vbox',
al...
分类:
Web程序 时间:
2014-05-22 08:30:15
阅读次数:
362
当入行压力测试时出现下列错误[root@zabbix~]#ab-n3000-c3000http://192.168.0.2/ThisisApacheBench,Version2.3<$Revision:655654$>Copyright1996AdamTwiss,ZeusTechnologyLtd,http://www.zeustech.net/LicensedtoTheApacheSoftwareFoundation,http://www.apache.org/Ben..
分类:
其他好文 时间:
2014-05-20 22:18:38
阅读次数:
397
用xtrabackup进行数据备份恢复时出现如下问题:InnoDBBackupUtilityv1.5.1-xtrabackup;Copyright2003,2009InnobaseOyandPerconaInc2009-2011.AllRightsReserved.ThissoftwareispublishedundertheGNUGENERALPUBLICLICENSEVersion2,June1991.option_ibbackup_binaryisautodetect,..
分类:
数据库 时间:
2014-05-20 17:45:40
阅读次数:
573
1. 文件的打开读写 关闭
int open(const char *pathname,int flag,…) 打开一个文件
成功则返回文件描述符,若出现则返回-1
flag可以取下面的常量
O_RDONLY 只读打开
O_WRONLY 只写打开
O_RDWR 读写打开
其它的常量 O_APPEND,O_CREAT,O_EXCL,O_TRUNC,O_NOCTT...
分类:
其他好文 时间:
2014-05-20 16:07:29
阅读次数:
269
zTree实现基本树
1、实现源码
zTree实现基本树
<!--
var setting = {
data: {
simpleData: {
enable: true
}
}
};
var zNodes =[
{ id:1, pId:0, name:"湖北省", open:true},...
分类:
其他好文 时间:
2014-05-20 14:48:51
阅读次数:
230