For example, it appears the view model constructor for the
Name cell is
and this cell has a header and body KnockoutJS template of
Knockout.js headerTmpl: ui/grid/columns/text Knockout.js bodyTmpl: ui/grid/cells/text
If I look at the source file for the text cell body template
#File: vendor/magento/module-ui/view/base/web/templates/grid/cells/text.html <div class="data-grid-cell-content" text="$col.getLabel($row())"/>
It's not 100% clear how the value for the cell is rendered. The div itself is empty, and even if we expand the
text="" attribute into native KnockoutJS
<div xmlns="http://www.w3.org/1999/xhtml" class="data-grid-cell-content" data-bind="text: $col.getLabel($row())"></div>
It's still not clear what's going on. There's a text binding that will set a value -- but it's not clear where the object in
$row come from.
Has anyone dug through this to figure out what's going on?