Capture selected rows?
March 29, 2008 - 7:15pm — guyinva
| Project: | Flexigrid for jQuery |
| Version: | 1.0.1-beta-1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
I'm using Flexigrid to list some properties. Users select which ones to put on their list, kind of like a shopping cart.
Is there a variable that keeps track of currently selected rows, or do I have to use a callback?
Thanks!

Comments
#1
Maybe it's too late for you, but i've just been making some things with FG and after inspecting its code i found that on row select only the row class is changed, no other changes made. So i guess the only way to get ids of the selected rows is by accessing rows by their class like that:
$(".trSelected").each(function(){if(r=this.id.match(/row([0-9]+)/))ids.push(r[1])});