I'm using: Primefaces 3.1.1 - Mojarra JSF 2.1 - Tomcat 6.0. This is a refactory of a table that i used in a system on the job, because this i don't know if the sintax is correctly, but his is the idea. The integration with Editor that it provides (rowReorder.editor) makes use of Editors multi-row editing abilities to update all rows to take account of the row ordered data. RowReorder provides the ability for end users to quickly and easily reorder items in the table by click and drag. Is multiple selection supported for DataTables with SubTables? If so, how to do it right? If not, which way would you suggest to achieve a similar result? You can use a normal table nested with a dynamic columns table. This example shows the RowReorder extension for DataTables being used with Editor. processDecodes(UIViewRoot.java:933)Ĭom.execute(ApplyRequestValuesPhase.java:78)Ĭom.doPhase(Phase.java:101)Ĭom.execute(LifecycleImpl.java:118) processDecodes(UIComponentBase.java:1176) DataTable.processDecodes(DataTable.java:531) codeMultipleSelection(DataHelper.java:238) Well, this results in the following error when submitting the selection: Keyboard Support Keyboard navigable sub-controls include Sorting, Filtering, Row Expansions and Row Editing. ![]() Apparently the subtable doesn't allow the selection attribute and if I set the selection attribute on the parent DataTable I don't know how to choose the rowKey. The following table contains all the CSS class names used by all the nodes that compose the ace:dataTable. So I am trying to use a SubTable for the grouping, however, I am unsure how to realize to selection functionality. From this table the user shall be able to select multiple booking for billing. I would like to have a table of bookings grouped by clients.
0 Comments
Leave a Reply. |