使用FlexiGrid实现Extjs表格的效果Word文档格式.docx

上传人:b****5 文档编号:18786691 上传时间:2023-01-01 格式:DOCX 页数:28 大小:622.17KB
下载 相关 举报
使用FlexiGrid实现Extjs表格的效果Word文档格式.docx_第1页
第1页 / 共28页
使用FlexiGrid实现Extjs表格的效果Word文档格式.docx_第2页
第2页 / 共28页
使用FlexiGrid实现Extjs表格的效果Word文档格式.docx_第3页
第3页 / 共28页
使用FlexiGrid实现Extjs表格的效果Word文档格式.docx_第4页
第4页 / 共28页
使用FlexiGrid实现Extjs表格的效果Word文档格式.docx_第5页
第5页 / 共28页
点击查看更多>>
下载资源
资源描述

使用FlexiGrid实现Extjs表格的效果Word文档格式.docx

《使用FlexiGrid实现Extjs表格的效果Word文档格式.docx》由会员分享,可在线阅读,更多相关《使用FlexiGrid实现Extjs表格的效果Word文档格式.docx(28页珍藏版)》请在冰豆网上搜索。

使用FlexiGrid实现Extjs表格的效果Word文档格式.docx

12:

#flexme2'

13:

});

14:

2加入需要格式化的表格即可

h1>

最简单的flexigrid表格-1<

/h1>

tableid="

flexme1"

thead>

tr>

thwidth="

100"

Col1

/th>

Col2

Col3isalongheadername

15:

300"

16:

Col4

17:

18:

/tr>

19:

/thead>

20:

tbody>

21:

22:

td>

23:

Thisisdata1withoverflowingcontent

24:

/td>

25:

26:

Thisisdata2

27:

28:

29:

Thisisdata3

30:

31:

32:

Thisisdata4

33:

34:

35:

36:

37:

Thisisdata1

38:

39:

40:

41:

42:

43:

44:

45:

46:

47:

48:

49:

50:

51:

52:

53:

54:

55:

56:

57:

58:

59:

60:

61:

62:

63:

64:

65:

66:

67:

68:

69:

70:

71:

72:

73:

74:

75:

76:

77:

78:

79:

80:

81:

82:

83:

84:

85:

86:

87:

88:

89:

90:

91:

92:

93:

94:

95:

96:

97:

98:

99:

100:

101:

102:

103:

104:

105:

106:

107:

108:

109:

110:

111:

112:

113:

114:

115:

116:

117:

118:

119:

120:

121:

122:

123:

124:

125:

126:

127:

128:

129:

130:

131:

132:

133:

134:

135:

136:

137:

138:

139:

140:

141:

142:

143:

144:

145:

146:

147:

148:

149:

150:

151:

152:

153:

154:

155:

156:

157:

158:

159:

160:

161:

162:

163:

164:

165:

166:

167:

168:

169:

170:

171:

172:

173:

174:

175:

176:

177:

178:

179:

180:

181:

182:

183:

184:

185:

186:

187:

188:

189:

/tbody>

190:

/table>

191:

p>

192:

/p>

193:

194:

最简单的flexigrid表格-2<

195:

flexme2"

196:

197:

198:

199:

200:

201:

202:

203:

204:

205:

206:

207:

208:

209:

210:

211:

212:

213:

214:

215:

216:

217:

218:

219:

220:

221:

222:

223:

224:

225:

226:

227:

228:

229:

230:

231:

232:

233:

234:

235:

236:

237:

238:

239:

240:

241:

242:

243:

244:

245:

246:

247:

248:

249:

250:

251:

252:

253:

254:

255:

256:

257:

258:

259:

260:

261:

262:

263:

264:

265:

266:

267:

268:

269:

270:

271:

272:

273:

274:

275:

276:

277:

278:

279:

280:

281:

282:

283:

284:

285:

286:

287:

288:

289:

290:

291:

292:

293:

294:

295:

296:

297:

298:

299:

300:

301:

302:

303:

304:

305:

306:

307:

308:

309:

310:

311:

312:

313:

314:

315:

316:

317:

318:

319:

320:

321:

322:

323:

324:

325:

326:

327:

328:

329:

330:

331:

332:

333:

334:

335:

336:

337:

338:

339:

340:

341:

342:

343:

344:

345:

346:

347:

348:

349:

350:

351:

352:

353:

354:

355:

356:

357:

358:

359:

360:

361:

362:

363:

364:

365:

366:

367:

368:

369:

370:

371:

372:

373:

374:

375:

376:

377:

378:

379:

380:

381:

382:

为了增加FlexiGrid的基本使用效果,我们可以通过参数对其进行基本的调整

自定义表头

具体代码实现:

).flexigrid({

colModel:

[

{display:

'

ISO'

name:

iso'

width:

40,sortable:

true,align:

center'

},

Name'

name'

180,sortable:

left'

PrintableName'

printable_name'

120,sortable:

ISO3'

iso3'

130,sortable:

hide:

true},

NumberCode'

numcode'

80,sortable:

right'

}

]

],

sortname:

"

iso"

sortorder:

asc"

自定义折叠,自定义排序的实现

],width:

700,height:

300,usepager:

true,showTableToggleBtn:

true,title:

点我折叠"

searchitems:

isdefault:

true}

title:

我的测试效果"

width:

700,

height:

300,

usepager:

true,rp:

10

高级使用:

1分页要用到的存储过程

CreatePROCEDURE[dbo].[spAll_ReturnRows]

@SQLnVARCHAR(4000),

@Pageint,

@RecsPerPagein

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 人文社科 > 法律资料

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1