Skip to Content
author's profile photo Former Member
Former Member

TableView contains whitespace-like characters

Hi,

I have a tableview which can be dynamically expanded...via an add row button the onInputProcessing event is triggered which appends a empty row to the internal table for the tableview.

IF event IS NOT INITIAL AND event->id EQ 'addRow'.
  CLEAR mystructure.
  APPEND mystructure TO mytable.
ENDIF.

The problem is, that the tableview shows some whitespace like characters in the cells, when the structure is empty. The consequence of this is that when you click on the cell and enter some data, the data has a leading whitespace. And this whitespace can neither be removed by CONDENSE nor by SHIFT. If I preset the empty structure with a character '_' for e.g. the whitespace like character is not there. Same behavior when I delete this strnage character manually in every cell before I enter some data.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 09:07 AM

    solved it on my own...

    fyi:

    the leading whitespace has a unicode value of 160 while a normal space has a unicode value of 104. That's why codense was not working properly.

    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.