Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jclx opened this issue Sep 17, 2015 · 1 comment
Open

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

jclx opened this issue Sep 17, 2015 · 1 comment

Comments

@jclx
Copy link

jclx commented Sep 17, 2015

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
Copy link
Member

warpech commented Sep 18, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants