Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.