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

tasty-thead, how to change column title in tasty-thead #132

Closed
tuannnm46 opened this issue May 5, 2015 · 3 comments
Closed

tasty-thead, how to change column title in tasty-thead #132

tuannnm46 opened this issue May 5, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@tuannnm46
Copy link

Dear all,

I want to change thead
[start] scope.resource.header = [{"key": "date","name": "Date"},{"key": "id", "name": "ID"}]

And I have function reloadData(), and change header
[end] scope.resource.header = [{"key": "month","name": "Month"},{"key": "id", "name": "ID"}]

I've used bind-reload="reloadData", scope.resource.header have been changed, but on Table view didn' t changed.

Please help me, how to change column title in tasty-thead

Thanks,
Minh Tuan

@Zizzamia
Copy link
Owner

Zizzamia commented May 8, 2015

Hi @tuannnm46,
I think you just discover a bug!
Here https://github.com/Zizzamia/ng-tasty/blob/master/template/table/head.html#L5 as you can read we use bind-once for all the header data.

So I will take care of this and think a possible solution to disable the bind-once in this case!

@Zizzamia Zizzamia added bug and removed question labels May 8, 2015
@Zizzamia Zizzamia self-assigned this May 8, 2015
@Zizzamia Zizzamia added this to the Version 0.5.5 milestone May 8, 2015
@tuannnm46
Copy link
Author

Hi @Zizzamia,

I'm a newbie.
Thanks you very much.

Thanks,
Minh Tuan.

Zizzamia pushed a commit that referenced this issue Jun 16, 2015
Zizzamia pushed a commit that referenced this issue Jun 16, 2015
@Zizzamia
Copy link
Owner

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

No branches or pull requests

2 participants