ICEfaces
  1. ICEfaces
  2. ICE-11378

ace:dataTable, extend Click Events demo to automatically select text of input field

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2, EE-3.3.0.GA_P05
    • Fix Version/s: 4.3, EE-3.3.0.GA_P06
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      Find a way to extend the ace:dataTable > Click Events demo to switch a cell to edit mode and to have the contents of the first input field already selected with a single click. This may or may not require adding code at the component level.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52427 Thu May 03 09:45:26 MDT 2018 art.zambrano ICE-11378 slight text modifications
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52426 Wed May 02 17:51:27 MDT 2018 art.zambrano ICE-11378 added some simple javascript code to trigger a cell double click event when double clicking on the text fields and added the same functionality when pressing the esc key on the text fields, in order to exit the edit mode on the cell
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableClick.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52425 Wed May 02 17:30:04 MDT 2018 art.zambrano ICE-11378 added automatic overflow styling to div container of the table, in order do display a scrollbar when the table width increases as a result of cells switching to edit mode
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableClick.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52176 Mon Dec 18 17:46:05 MST 2017 art.zambrano ICE-11378 modified ace:dataTable > Click Events demo to show this functionality
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/dataTable/DataTableClick.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52171 Thu Dec 14 13:41:13 MST 2017 art.zambrano ICE-11378 added utility function to automatically select the text of the first text input or textarea of a container
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: