Enabling wrap text in TableView cells

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

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.

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • tinh
    tinh Altair Community Member
    edited August 2017

    I don't know how to open TableView,

    Could you show me?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    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

  • tinh
    tinh Altair Community Member
    edited August 2017

    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}      } }

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.