以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- [求助]求教下,weui如何设置表格的行高 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=151176) |
-- 作者:cool314156 -- 发布时间:2020/6/17 10:13:00 -- [求助]求教下,weui如何设置表格的行高 如题,帮助里没找到,只能问版主了 |
-- 作者:有点蓝 -- 发布时间:2020/6/17 10:19:00 -- 比如: Select Case e.Path Case "table.htm" Dim wb As New WeUI wb.AppendHTML("<style>#table1 tr{height:50px}</style>",True) With wb.AddTable("","Table1") .head.AddRow("部门","姓名","年龄","电话","地址") \'表头 .body.AddRow("技术部","张三","36","110","中国北京") \'数据 .body.AddRow("技术部","李四","38","110","中国上海") .body.AddRow("技术部","王五","39","110","中国深圳") .body.AddRow("生产部","赵六","39","110","中国深圳") .body.AddRow("生产部","刘七","39","110","中国深圳") End With e.WriteString(wb.Build) End Select |