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

updating a view with a reactive variable #5

Open
mbateman opened this issue Jun 16, 2016 · 1 comment
Open

updating a view with a reactive variable #5

mbateman opened this issue Jun 16, 2016 · 1 comment

Comments

@mbateman
Copy link

Hi aramk,

First of all let me thank you for providing this package.

As you no doubt intended, I am using it to extend the reactive-table package to provide CRUD functionality.

I have noticed that when I reset a Session value it does not refresh the table contents as it does when using reactive-table.

I have some code that resets the value according to a value selected from a dropdown:

'change #institution-select': function (event, template) {
var institution = $(event.currentTarget).val();
Session.set('selection', institution);
}

When a different selection is made the values seen in the table change when reactive-table, but not in
meteor-collection-table.

I wonder if there is a work around or explanation for this behaviour.

Kind Regards
Michael

@aramk
Copy link
Owner

aramk commented Jun 16, 2016

Hi Michael,
Not sure what's happening there without a sample app, but I've been using the "select" event which collection-table will emit for capturing the selections I've extended on top of reactive-table.

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