1 Reply Latest reply: Dec 26, 2012 11:15 PM by Harsha049 RSS

    AdfSelectionEvent javascript - event.getRemovedSet() is always null. Why?

    Harsha049
      I rendered Employees table on a .jspx page.

      Step 1: To the <af:table>, i added a client listener as below..
      <af:clientListener type="selection" method="onSelect"/>

      Step 2:There is <af:resource> part which holds onSelect(evt) method.
      function onSelect(evt) {
      alert(evt); //always returns removed=null
      remKeySet = evt.getRemovedSet();
      for (rowKey in remKeySet) {
      alert("removedKeySet " + rowKey);
      }
      }

      addedKeySet functionality works as expected. But, getRemovedSet() always returns null. I want to handle the removedKeys in javascript. Any approaches?