ICEfaces
  1. ICEfaces
  2. ICE-10529

ace:dataTable - filter focus lost on update

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02, 4.0
    • Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Firefox, Chrome, IE11

      Description

      In a filter enabled ace:dataTable, the focus is lost when deleting characters from the filter input field. Upon loss of focus, using the backspace yet will return the user to the previous page.

      This happens with the 'change' and 'keyup' filter events. When deleting characters in the field, if there new data to be shown, the focus is lost.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44273 Thu Mar 19 16:26:46 MDT 2015 art.zambrano ICE-10529 added global cache for the filter event listener, which needs to be global and static
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44267 Thu Mar 19 13:56:16 MDT 2015 art.zambrano ICE-10529 added call to invoke the destroy function before (re)initializing the data table, in order to remove all event listeners; added code to remove other event listeners that aren't removed via destroy(); fix to only render the clickable header events set-up script when the column is sortable and clickable headers are enabled
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableHeadRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44183 Thu Mar 05 15:46:04 MST 2015 mircea.toma ICE-10529 Update visibility of paginator when the number of available rows is higher than the ones displayed.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/paginator/paginator.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44180 Thu Mar 05 13:50:43 MST 2015 mircea.toma ICE-10529 Enclose inline script code with 'span' element which has its ID attribute defined so that eventual changes in code will not force the update to proagate to the root element.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableHeadRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44176 Wed Mar 04 18:58:25 MST 2015 mircea.toma ICE-10529 Added client IDs for 'thead' and 'tbody' elements to stop the update from propagating up to root element.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableHeadRenderer.java

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: