Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 3.x ace:dataTable
-
Assignee Priority:P2
-
Salesforce Case Reference:
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
Users would like to ability to configure the ace:dataTable to say, use single-click for row selection, and also add a double-click listener to the row that would perform a different action, such as popup an edit dialog, etc.
In order to facilitate this, we should add the following new client events / ace:ajax events to ace:dataTable:
* 'rowClick' - fires when the primary mouse button is clicked once over a table row.
* "rowDblClick" - fires when the primary mouse button is double-clicked over a table row.
In to support the "rowDblClick" detection, a technique similar to that used by the ace:list may be required.
Note that it is also foreseeable that the application may want to first select the double-clicked row, then perform some action on it. Presumably, this could be implemented by the application "rowDblClick" event handler itself, and not in the ace:dataTable component (unless row selection is already configured for double-click).
In order to facilitate this, we should add the following new client events / ace:ajax events to ace:dataTable:
* 'rowClick' - fires when the primary mouse button is clicked once over a table row.
* "rowDblClick" - fires when the primary mouse button is double-clicked over a table row.
In to support the "rowDblClick" detection, a technique similar to that used by the ace:list may be required.
Note that it is also foreseeable that the application may want to first select the double-clicked row, then perform some action on it. Presumably, this could be implemented by the application "rowDblClick" event handler itself, and not in the ace:dataTable component (unless row selection is already configured for double-click).
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #36597 | Mon Jul 08 11:09:01 MDT 2013 | nils.lundquist | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #36293 | Wed Jun 19 09:22:29 MDT 2013 | nils.lundquist | |
Files Changed | ||||
ADD
/icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableClick.xhtml
MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties ADD /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/dataTable/DataTableClick.java MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/dataTable/DataTableBean.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRowRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #36191 | Wed Jun 12 16:21:20 MDT 2013 | nils.lundquist | |
Files Changed | ||||
ADD
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/event/DataTableCellClickEvent.java
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #35938 | Wed Jun 05 14:34:15 MDT 2013 | nils.lundquist | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/util/util.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #35930 | Wed Jun 05 11:51:57 MDT 2013 | nils.lundquist | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.css MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableMeta.java MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js |