hot-table icon indicating copy to clipboard operation
hot-table copied to clipboard

Allow render template access to the row other than value

Open jclx opened this issue 10 years ago • 1 comments

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>

jclx avatar Sep 17 '15 18:09 jclx

:+1:

warpech avatar Sep 18 '15 08:09 warpech