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

load a vector of selected rows #89

Closed
maxmoro opened this issue Jun 2, 2015 · 5 comments
Closed

load a vector of selected rows #89

maxmoro opened this issue Jun 2, 2015 · 5 comments

Comments

@maxmoro
Copy link

maxmoro commented Jun 2, 2015

Not an issue, just an idea:
Is it possible to pass to the DT a vector of selected row IDs (or Row numbers when server=false)? This will allow to pre-select some rows programmatically.

Thank you for your great work on DT!!
Max

@yihui
Copy link
Member

yihui commented Jun 11, 2015

I think it is possible, although it is currently not straightforward. I'll see what I can do.

@yihui yihui closed this as completed in 4d5b0a5 Jun 11, 2015
yihui added a commit that referenced this issue Jun 11, 2015
@yihui
Copy link
Member

yihui commented Jun 11, 2015

Done. Please install the development version here and see the documentation of selection in ?datatable.

@stanstrup
Copy link

Just wanted to say thanks. I have been waiting one year for a way to do exactly this in my app.

@yihui
Copy link
Member

yihui commented Jun 12, 2015

@stanstrup Glad to know that (actually sad to know that you waited for so long...)!

@maxmoro
Copy link
Author

maxmoro commented Jun 17, 2015

Thank you. This is great!

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

3 participants