How to get marked rows in the XPages Extension Library <xe:dataView> design element?
问题 I have a XPage with design element. How can I get list of checked rows to post it to an agent? <xe:dataView id="dataView1" columnTitles="true" expandedDetail="true" var="dview1" openDocAsReadonly="false" rows="15" showCheckbox="true" showHeaderCheckbox="true"> Thank you! 回答1: For the client-side, you can use Dojo. The following CSJS script will return NoteIds for all selected rows: dojo.query(".lotusFirstCell > input:checked").attr('value') For the server side, you can grab the IDs of