Every row in the grid, has a checkbox ahead. pepole can select
multi-row through these checkboxes, and then press a [delete] button to
delete all the selected rows in a single action. how can i do this?
Ke Peng wrote:
Every row in the grid, has a checkbox ahead. pepole can select
multi-row through these checkboxes, and then press a [delete] button to
delete all the selected rows in a single action. how can i do this?
Give the checkboxes unique ids that can be parsed back into class ids
(e.g. “4-foo-row-checkbox”.to_i = 4) and then look for the values in
your params.