handsontable / hot-table

Handsontable - Best Data Grid Web Component with Spreadsheet Look and Feel.
http://handsontable.github.io/hot-table/
MIT License
131 stars 36 forks source link

Allow render template access to the row other than value #21

Open jclx opened 9 years ago

jclx commented 9 years ago

I noticed the value, row and col are available to bind too. But it would be nice to have the row itself and not just the index. I know I can use the index to get to the collection and get the row data that way. We want to call a function and look at multiple fields in the row.

    <hot-column header="Name" read-only="true">
        <template data-hot-role="renderer" is="dom-template">
                <span>[[formatName(model)]]</span>
        </template>
    </hot-column>
warpech commented 9 years ago

:+1: