Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Data inspector GoJS

$
0
0

@marin wrote:

I asked a question regarding data inspector yesterday, and a solution was provided. However, today I noticed that the data inspector doesn’t display 0 values (?). I’ve modified an example that I talked about in this post: Inspecting item array values
I’ve set a value of 0 to one of the items in the table and the values wasn’t displayed. When changed to 0.1, the value displays normally.
Seems like a bug?

The problem seems to be this line:
tbody.appendChild(this.buildPropertyRow(k, defaultValue || ‘’));

0 || ‘’ will result in an empty string

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles