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

Custom attributes to th tags #206

Open
sharok opened this issue Jan 18, 2016 · 2 comments
Open

Custom attributes to th tags #206

sharok opened this issue Jan 18, 2016 · 2 comments
Assignees
Milestone

Comments

@sharok
Copy link

sharok commented Jan 18, 2016

Related to #204

I have tried the following template for adding custom attributes:

<script type="text/ng-template" id="localTemplateThead.html">
                        <tr>
                            <th test="test" ng-repeat="column in columns track by $index"
                                ng-class="classToShow(column)"
                                ng-style="::column.style" ng-click="sortBy(column)">
                                Custom <span ng-bind="::column.name"></span>
                                v/th>
                        </tr>
                    </script>

But I don't see my test attribute.

@sharok
Copy link
Author

sharok commented Jan 25, 2016

I have found error. There are error in docs.
<thead tasty-thead template-url='"localTemplateThead.html"'></thead>

We need to use double quotes.

@Zizzamia Zizzamia added this to the Version 0.6.2 milestone May 10, 2016
@Zizzamia Zizzamia self-assigned this May 10, 2016
@Zizzamia
Copy link
Owner

@sharok do you wanna ask a PR for fix that?

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

No branches or pull requests

2 participants