Scala lift tablesorter checkboxes

Scala lift tablesorter checkboxes


I have a webapp for putting data into a table built with scala and
lift (of which I am very new) I'm trying to get a row of checkboxes
for selecting the rows. I've seen it many places, but am having
trouble replicating the effect.
the table here:
http://beta.ksscholl.com/jquery/tablesorter.html#
is the effect I am looking for.
The scala code for populating my table is:
def doClaimWorkQueueTable = {
if (!selectedRow.isEmpty) selectedPatentFileHistory = Box(Full
(selectedRow.open_!))
<thead><tr><th> <!-- insert checkbox in header here --> </th>
{ClaimWorkQueue.htmlHeaders}<th>Edit</th></tr></thead><tbody>{
selectedPatentFileHistory.open_!.workQueue.flatMap(
h => <tr><th> <!-- insert checkbox in body here --> </th>
{h.htmlLine}
<td>{super.link("/workflow/edit", () => selectedWorkQueueRow
(Full(h)), Text("Edit"))}</td>
</tr>)}
</tbody>
}
creating the checkboxes as the example I found:
SHtml.ajaxCheckbox(thing.isActive, (toggled: Boolean) =>
{thing.setActive(toggled); Noop})
I would just like to know, what "thing" is and how to tie it to the
row if the checkbox is selected.
I'm just trying to learn what I'm doing and what it means as I just
borrow code.
Thanks in advance for any help.