Clear apex_item.popupkey_from_query

The apex_item.popupkey_from_query does not include a show null function that allows users to select a null
value.  The following add a clear function to the popup lov.

Javascrip Function:

function fClear(pThis) {
  pThis.prev('span').find('input').each(function() {
    $(this).val('');
  });
}

Column Formatting - HTML Expression:

<span style="white-space:nowrap;" >#COLUMN_NAME# 
  <span onClick="fClear($(this));">
    <img src="#IMAGE_PREFIX#delete.gif" alt="Clear" />
  </span>
</span>

CSS:

.clearLoc {cursor:pointer;}

Comments