以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  表格的行和列能冻结嘛?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=176582)

--  作者:shyilin
--  发布时间:2022/4/19 8:44:00
--  表格的行和列能冻结嘛?
 

Select Case e.Path

    Case "table.htm"

        Dim wb As New WeUI

        With wb.AddTable("","Table1")

            .Alternate = 3

            Dim nms() As String = {"产品","客户","数量","单价","日期"}

            .Head.AddRow(nms)    \'这里能冻结嘛?

            For Each r As DataRow In DataTables("订单").Select("数量 > 100", "日期 Desc")

                With .Body.AddRow(r("产品"),r("客户"),r("数量"))

                    .AddCell(Format(r("单价"),"#0.00"))   ’某一列能冻结嘛?  这样显示的东西会多点

                    .AddCell(Format(r("日期"),"MMdd"))

                End With

            Next

        End With

        e.WriteString(wb.Build)

End Select


--  作者:有点蓝
--  发布时间:2022/4/19 9:41:00
--  
目前不支持