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

Problems Binding to selectedItems #293

Open
FredHubert opened this issue Oct 23, 2014 · 1 comment
Open

Problems Binding to selectedItems #293

FredHubert opened this issue Oct 23, 2014 · 1 comment

Comments

@FredHubert
Copy link

The items in my observable array all have a property named "Selected". I have a separate observable array, selectedItemsList, that is a ko.computed which is simply the main data array but filtered where Selected==true. When my kogrid loads, the footer will correctly display the number of total items AND selected items (hooray!), but the SelectionCheckbox column does not indicate the selected rows and neither do the rows highlight. Additionally, when I select or deselect any rows in the grid, the selected items count in the footer is not updated (this does work when I don't bind anything to the selectedItems grid option). I've reviewed a similar issue discussed here: #158 , but when I try to use any property named "kg_selected" it just breaks the grid...

@FredHubert
Copy link
Author

I should add that I'm using koGrid 2.1.1 and knockout.js 3.2.0.

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

1 participant