title: Filter empty values in DetailView
body: <p>Is there an easy way to force <code>DetailView</code> in Yii2 to ignore these fields in its <code>attributes</code> list, that for particular <code>model</code> are empty?</p>
  
  <p>Or the only way is to define <em>every</em> attribute on <code>attributes</code> list with own function and filter empty fields inside it (sound like a little bit of madness)?</p>
  
  <p><strong>Edit</strong>: I thought, that this is pretty self-explanatory, but it turned out, it isn't. So, basically, I want to force <code>DetailView</code> to ignore (not render) rows for these elements of <code>attributes</code> list, that have empty (null, empty string) values in corresponding <code>model</code> and thus would result in rendering empty table cell:</p>
  
  <p><img src="https://i.stack.imgur.com/SZfcZ.png" alt="enter image description here"></p>