rice-framework/krad-web/src/main/webapp/krad/scripts/krad.lookup.js
/**
 * Deselects all checkboxes within the datatable/non datatable (all pages) that are marked with class 'uif-select-line'
 * (used for multi-value select collections)
 *
 * @param collectionId - id for the collection to deselect checkboxes for
 */
Deselects all checkboxes within the datatable/non datatable (all pages) that are marked with class 'uif-select-line'
(used for multi-value select collections)

@param collectionId - id for the collection to deselect checkboxes for
Deselects all checkboxes within the datatable / non datatable ( all pages ) that are marked with class ' uif - select - line ' ( used for multi - value select collections ) @param collectionId - id for the collection to deselect checkboxes for
function deselectAllLines(collectionId) {
    var oTable = getDataTableHandle(jQuery("#" + collectionId).find("table").attr('id'));
    var query = "input:checkbox." + kradVariables.SELECT_FIELD_STYLE_CLASS;
    if (jQuery('table.dataTable').length > 0) {
        jQuery(query, oTable.fnGetNodes()).prop('checked', false);
    }
    var lookupCollectionDiv = jQuery('#' + collectionId);
    lookupCollectionDiv.data('selectedlinecount', 0);
    setMultivalueLookupReturnButton(jQuery("#" + collectionId));
}
function deselectAllLines ( collectionId ) { var oTable = getDataTableHandle ( jQuery ( "#" + collectionId ) . find ( "table" ) . attr ( 'id' ) ) ; var query = "input:checkbox." + kradVariables . SELECT_FIELD_STYLE_CLASS ; if ( jQuery ( 'table.dataTable' ) . length > 0 ) { jQuery ( query , oTable . fnGetNodes ( ) ) . prop ( 'checked' , false ) ; } var lookupCollectionDiv = jQuery ( '#' + collectionId ) ; lookupCollectionDiv . data ( 'selectedlinecount' , 0 ) ; setMultivalueLookupReturnButton ( jQuery ( "#" + collectionId ) ) ; }
Deselects all checkboxes within the datatable/non datatable (all pages) that are marked with class 'uif-select-line'
 (used for multi-value select collections)
Deselects all checkboxes within the datatable / non datatable ( all pages ) that are marked with class ' uif - select - line ' ( used for multi - value select collections )
// get a handle on the datatables plugin object for the results collection
 // reset selectedlinecount to 0
