title: KnockoutJS visible not working for me
body: <p>Below is some table code. I don't want the row to show if the Id of the data item is 0. I tried writing it like this:</p>
  
  <blockquote>
    <p>data-bind="visible: $data.Id > 0"</p>
  </blockquote>
  
  <p>But that's not working. Nor did putting the 0 in quotes. I also tried:</p>
  
  <p>data-bind="visible: $index > 0"</p>
  
  <p>But that makes all rows go away! I'm sure this is a simple syntax issue, but I'm not seeing it...</p>
  
  <pre><code>    &lt;table&gt;
          &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th&gt;Name&lt;/th&gt;
                  &lt;th&gt;URL&lt;/th&gt;
                  &lt;th&gt;Disabled&lt;/th&gt;
                  &lt;th&gt;Parent&lt;/th&gt;
                  &lt;th&gt;&lt;/th&gt;
              &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody data-bind="foreach: menuItemModels"&gt;
  
              &lt;tr  data-bind="visible: $data.Id &gt; 0"&gt;
  
                  &lt;td&gt;
                      &lt;input type="text" class="input-block-level" data-bind="value: $data.Name" /&gt;&lt;/td&gt;
                  &lt;td&gt;
                      &lt;input type="text" class="input-block-level" data-bind="value: $data.Url" /&gt;&lt;/td&gt;
                  &lt;td style="text-align: center;"&gt;
                      &lt;input type="checkbox" data-bind="value: $data.Disabled" /&gt;&lt;/td&gt;
                  &lt;td&gt;                      
                      &lt;select data-bind="options: $root.menuItemModels, optionsValue: 'Id', optionsText: 'Name', value: ParentId"&gt;&lt;/select&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;button class="btn btn-primary" type="submit"data-bind="click: $root.update"&gt;Update&lt;/button&gt;
                      &lt;button class="btn btn-primary" type="submit" data-bind="click: $root.remove"&gt;Delete&lt;/button&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/tbody&gt;
      &lt;/table&gt;
  </code></pre>