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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
