高亮显示行列

在手机中显示查阅一个大表格是很痛苦的,为解决这个问题,Foxtable提供了高亮显示行列的功能。

点击行号,会高亮显示对应的行:

点击列标题,会高亮显示对应的列:

点击某单元格,会高两显示对应的行列:

Foxtable为表提供了一个整数型的Highlight属性,可以用来关闭高亮显示功能:

说明
0 高亮显示行列
1 仅高亮显示行
2 仅高亮显示列
-1 关闭高亮显显示

一个例子

下面的HttpRequest事件代码关闭了表格的高亮显示功能:

Select Case e.Path
    Case
"table.htm"
       
Dim wb As New WeUI
        With wb.AddTable("","Table1")
            .Highlight = -
1  '
关闭高亮显示功能
            .RowHead =
1
            .head.AddRow("",
"
部门","姓名","年龄","电话","地址")
            .body.AddRow("1",
"
技术部","张三","36","110","中国北京")
            .body.AddRow("2",
"
技术部","李四","38","110","中国上海")
            .body.AddRow("3",
"
技术部","王五","39","110","中国深圳")
            .body.AddRow("4",
"
生产部","赵六","39","110","中国深圳")
           
.body.AddRow("5","生产部","刘七","39","110","中国深圳")
        End
With
        e.WriteString(wb.Build)

End
Select

 


本页地址:http://www.foxtable.com/mobilehelp/topics/0069.htm