Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Single selection doesn't work with Memory store #61
I'm unable to reproduce this in
What version of dgrid are you using? Do you see any errors in firebug / dev tools when selecting? Would you be able to either gist or host a complete isolated test page reproducing the issue?
jesus-crysist, the problem is that you are using: id: +new Date for your row id. Because each row is being created in the same second, all of the row ids are the same.
The id for each row needs to be unique, this is causing selection to fail because it doesn't know which row to unselect after the first.
If you don't have an identifier to use, just use a random number. :)