Hi all,

I have a use case where we want a table of data where the first column
is checkboxes.  The idea is that a user would check the row of data and
then click a button to perform some action.  See my previous email re:
For loop of Button Components.  Anyway, the design is to have the column
header for the check box column be a checkbox itself which would perform
a "Select All" action.  This is a pretty common use case so I was hoping
someone, much smarter than I, has already implemented such a thing with
a customization of the contrib:Table component.  Any ideas or pointers?

 

FWIW, I had no problem adding the checkbox to each row in the table, now
I am stuck trying to add the "Select All" checkbox as the column header.
My current thought is to construct the array of ITableComponents, with
the first column denoted a special renderer, with
setColumnRendererSource.  The problem then becomes (as I see it), each
java representation of a page needs to define its columns instead of
using the .page object since the data presented in the table varies by
page.

 

Thanks in advance,

D DeFrance

Reply via email to