Skip to Content
author's profile photo
Former Member

TableView Colum Name

Hi,

When I try to display a TableView, I am face the following issues:

- If 2 Columns have the same name Data displayed in both columns is the same.

- If Columns do not have name i.e. the name of the Columns are blank the data in the 2 columns is the same.

- The above scenerio could be the same for 2 or more columns

Has anyone faced the same issues, or is there a way around this.

NAC

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Mar 02, 2005 at 07:06 AM

    We have faced the same issue.

    1) If you require same column name in display then do the following. - This would apply for blanks as well.

    You could provide different column names but change them at display using the HeaderCellRenderer. This should ensure that the column names are same when displayed (but different when forming the table view model) but the data in the following rows are different.

    Try using the HeaderCellRenderer.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Mar 02, 2005 at 06:32 AM

    Is this in BSP or Java PDK. I think you should saprate the name of two columns even you can add a space or '.' in column, they will behave properly and column name will look same..

    Ajay

    Add comment
    10|10000 characters needed characters exceeded