🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Enabling wrap text in TableView cells

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Is there a command / option that we can use to enable word wrap in TableView cells. Right now, when a cell has data that is longer than its width, it just shows '...' at the end instead of the actual data when I publish the TableView window to an html file. It shows up correctly when I publish a .ppt but not in an html.

 

Any help is appreciated.

 

Thank you.

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "tinh"
    Altair Community Member
    Updated by tinh

    I don't know how to open TableView,

    Could you show me?

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    I don't know how to open TableView,

    Could you show me?

     

    You can select it from the client selection dropdown in HyperView,

     

    <?xml version="1.0" encoding="UTF-8"?>Open_TableView.png

     

    Although I believe TableView was only introduced in HyperWorks 14.0

    User: "tinh"
    Altair Community Member
    Updated by tinh

    I found it, @jcd

    it use tk treectrl widget

    to enable wrapping for TableView, enter command

     foreach widget [winfo children .] {      if {[string match .tblview_* $widget]} {           catch {$widget.frame.ctl.table element configure etext -wrap word}      } }

     

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    I found it, @jcd

    it use tk treectrl widget

    to enable wrapping for TableView, enter command

      foreach widget [winfo children .] {      if {[string match .tblview_* $widget]} {           catch {$widget.frame.ctl.table element configure etext -wrap word}      } }

     

    @tinh : This is brilliant! Exactly what I was looking to achieve. Thank you so much