如何使用折叠和展开功能将CSV文件转换为HTML格式

时间:2018-03-27 10:08:34

标签: powershell

我有一个很大的CSV表(超过2000条记录)

  1. 是否可以转换为HTML格式?
  2. 我们还希望HTML文件中的数据能够折叠和展开
  3. 与下面的数据一样,serverA和Server B有很多记录。所以我想通过折叠来减少线条

    Envriment   Team    ServerName  LocalGroupName  Permission  SubGroupMember
    E1AB    DP  ServerA Administrators  RW  ss
    E1AB    DP  ServerA Administrators  RW  dd
    E1AB    DP  ServerA Administrators  RW  ab
    E1AB    DP  ServerA Administrators  RW  Administrator
    E1AB    DP  ServerA Administrators  RW  dd
    E1AB    DP  ServerA Remote Desktop Users    RO  dd
    E1AB    DP  ServerA Remote Desktop Users    RO  yy
    E1AB    DP  ServerA Administrators  RW  yy
    E1AB    DP  ServerA Administrators  RW  kk
    E1AB    DP  ServerB Remote Desktop Users    RO  kk
    E1AB    DP  ServerB Administrators  RW  ff
    E1AB    DP  ServerB Administrators  RW  kk
    E1AB    DP  ServerB Administrators  RW  pp
    E1AB    DP  ServerB Administrators  RW  qq
    E1AB    DP  ServerB Administrators  RW  ee
    E1AB    DP  ServerB Administrators  RW  rr
    E1AB    DP  ServerB Administrators  RW  u
    

    在html中单击服务器A,然后显示数据

    Envriment   Team    ServerName          
    E1AB    DP  ServerA         
    Administrators  RW  ss      
    Administrators  RW  dd      
    Administrators  RW  ab      
    Administrators  RW  Administrator       
    Administrators  RW  dd      
    Remote Desktop Users    RO  dd      
    Remote Desktop Users    RO  yy      
    Administrators  RW  yy      
    Administrators  RW  kk      
    

0 个答案:

没有答案