var grid=Ext.getCmp("GridPanel1"); var store =
grid.getStore(); Ext.Ajax.request({ url:"server/grid.json", par...
分类:
Web程序 时间:
2014-05-09 18:09:47
阅读次数:
484
Crossword AnswersTime Limit:1000MSMemory
Limit:30000KTotal Submissions:869Accepted:405DescriptionA crossword puzzle
consists of a rectangular grid of ...
分类:
其他好文 时间:
2014-05-07 10:02:44
阅读次数:
359
╮(╯▽╰)╭水题
相连的相同色块缩成点,和相邻的不同色块建边。
以每一个点为起点bfs,求最小答案。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define inf 0x3f3f3f3f
#define ll long long
#define...
分类:
其他好文 时间:
2014-05-07 08:15:59
阅读次数:
328
Paint the Grid Reloaded
Time Limit: 2 Seconds
Memory Limit: 65536 KB
Leo has a grid with N rows and M columns. All cells are painted with either black or white initially.
Two cells A ...
分类:
其他好文 时间:
2014-05-07 07:28:35
阅读次数:
480
Paint the Grid Again
Time Limit: 2 Seconds
Memory Limit: 65536 KB
Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black or white).
Leo has a...
分类:
其他好文 时间:
2014-05-07 06:56:10
阅读次数:
470
多个模块之间的关联(2)
先来看看父模块对孙模块的操作。
一、“省”模块对“客户”的操作。
1、在省模块中加入该省的客户数。与加入市的个数一样,只要配置“省”模块的附加字段就可以了,设置截图如下:
然后将 “客户单位计数”加到grid中。
2、前面有介绍过“省”对"市"的父模块的限定值的。即选...
分类:
其他好文 时间:
2014-05-07 04:40:49
阅读次数:
236
多个模块之间的关联(3)
一、“客户”模块对父模块字段的显示。和可以显示父模块的字段一样,也可以显示祖父模块的字段。设置如下:
上图中加入了一个省份名称的字段到“客户”的附加字段中,下面把他加入grid中。
下面展示一下各种导航模式。
下图为多导航值都有效的效果。
...
分类:
其他好文 时间:
2014-05-07 04:14:04
阅读次数:
320
Problem:In the 2020 grid below, four numbers
along a diagonal line have been marked in red.08 02 22 97 38 15 00 40 00 75 04
05 07 78 52 12 50 77 91 08...
分类:
其他好文 时间:
2014-05-06 14:35:55
阅读次数:
460
注意设置idfield="id",这里的id要和下面field的id保持一致,而且要保证唯一性。
分类:
其他好文 时间:
2014-05-05 10:00:06
阅读次数:
428
现在网上的教材都是老版本的,现在的版本并没有DragPanelContents脚本,所以我对着现在的DEMO琢磨出了实现方法第一,创建NGUIui,其他组件不必创建,我只要NGUI这个摄影机,将这个NGUI设置为2D层,下面子组件都属于2D层创建ScrollView,之后在下面创建Grid把他里面的脚本去掉,..
分类:
其他好文 时间:
2014-05-04 17:28:50
阅读次数:
426