rstaib/jquery-bootgrid

getSelectedRows - Works with Toggle All - Sort of

Open

#128 aberto em 17 de abr. de 2015

Ver no GitHub
 (4 comments) (0 reactions) (1 assignee)JavaScript (375 forks)batch import
help wanted

Métricas do repositório

Stars
 (976 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

I've been trying getSelectedRows on 1.2.0rc and I'm running into same problem I had when I was trying to "hack" 1.1.4

I can get an array of all rows if I use the heading toggle checkbox to check all rows. But if I check/uncheck individual rows, it does not affect the output. Seems like .selectedRows is not affected by individual row changes?

I'm setting (and I think I've tried all combinations): selection: true, multiSelect: true, rowSelect: true, keepSelection: true,

The same thing occurs when using .on("selected.rs.jquery.bootgrid"

Any ideas how to fix this?

Otherwise, excellent plug in. Everything else is working great. Like the templates and formatters!

Thanks Scott

Guia do colaborador