语法例子
1.增加header例子
mygrid.attachHeader("Sales,#cspan,Author,#rspan,In Store,Shipping,Bestseller,Date of Publication")
2.增加foot header的例子
mygrid.attachHeader("Sales,#cspan,Author,Price,In Store,Shipping,Bestseller,Date of Publication","height:50px;","ftr")
1.增加header例子
mygrid.attachHeader("Sales,#cspan,Author,#rspan,In Store,Shipping,Bestseller,Date of Publication")
2.增加foot header的例子
mygrid.attachHeader("Sales,#cspan,Author,Price,In Store,Shipping,Bestseller,Date of Publication","height:50px;","ftr")
本文介绍了一种表格控件中header与footheader的设置方法。通过具体语法示例展示了如何利用mygrid.attachHeader方法来实现不同字段的布局与跨列效果。这有助于开发者更好地组织和展示表格数据。
351

被折叠的 条评论
为什么被折叠?



