ICEfaces
  1. ICEfaces
  2. ICE-10003

ace:tableConfigPanel - Add ability to open the panel using a JavaScript API

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01, 4.0.BETA
    • Fix Version/s: 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      Feature Request: Add the ability to open the panel through an outer command button or link. Currently the button is defined in one of the table columns. This request is to add in the ability to open the panel through and outer h:commandButton.

        Activity

        Hide
        Arturo Zambrano added a comment - - edited

        Committed improvement to 4.0 trunk at revision 41522. Added a client-side API function to open the table config panel. The name of the function is 'show()' and is invoked on the Table Config object, obtained via ice.ace.instance(clientId).

        An example of its usage (in the showcase Table Config demo) would be the following:

        <h:commandButton value="Open panel" onclick="ice.ace.instance('carForm:carTable:tableConfig').show();return false;" />
        

        EDIT: Changed name of function to display the panel to 'show' to better align with similar functions in other components.

        Show
        Arturo Zambrano added a comment - - edited Committed improvement to 4.0 trunk at revision 41522. Added a client-side API function to open the table config panel. The name of the function is 'show()' and is invoked on the Table Config object, obtained via ice.ace.instance(clientId). An example of its usage (in the showcase Table Config demo) would be the following: <h:commandButton value= "Open panel" onclick= "ice.ace.instance('carForm:carTable:tableConfig').show();return false;" /> EDIT: Changed name of function to display the panel to 'show' to better align with similar functions in other components.
        Hide
        Ken Fyten added a comment -

        Let's change the name from "open()" to "show()" to be consistent with the client API used in ace:dialog.

        Show
        Ken Fyten added a comment - Let's change the name from "open()" to "show()" to be consistent with the client API used in ace:dialog.
        Hide
        Arturo Zambrano added a comment -

        r41538: changed name of function to 'show'.

        Show
        Arturo Zambrano added a comment - r41538: changed name of function to 'show'.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: