I have a grid with a number of databound columns.
I have added a templateColumn to my grid. The column contains a checkBox (chkReport). In my grid, I check this checkbox to indicate that a given row should be included in a report that I generate when subsequently clicking a "Build Report" button.
Question(s):
1. What is the best way of having such a column? Should it even be a template column?
2. Checked items must be "persisted" when I move back and forth using the grid's paging functionality. How?
3. How do I best detect the checked rows' primary keys (key column name is simply "id") when I am ready to build my report?
Any help appreciated,
Jeppe Jespersen
Denmark
I have added a templateColumn to my grid. The column contains a checkBox (chkReport). In my grid, I check this checkbox to indicate that a given row should be included in a report that I generate when subsequently clicking a "Build Report" button.
Question(s):
1. What is the best way of having such a column? Should it even be a template column?
2. Checked items must be "persisted" when I move back and forth using the grid's paging functionality. How?
3. How do I best detect the checked rows' primary keys (key column name is simply "id") when I am ready to build my report?
Any help appreciated,
Jeppe Jespersen
Denmark