Hello PF team,
Does new OrderList support "include / exclude items" feature as this supports jQuery Sortable? - http://jqueryui.com/demos/sortable/#items
I have implemented SortableList component on basis of jQuery Sortable, but now I could use PF OrderList if it would support one feature - exclude some items to be draggable and sortable. So, similar to Sortable demo.
Thanks for your reply.
Question to new OrderList
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
Found my code.
Attributes "itemSortable" and "itemDraggable" do the mentioned above magic. Is there something like in p:orderList?
Code: Select all
<jtcomp:sortableList id="sortableChoiceList" value="#{moveChoice.choices}" var="choice" axis="y" placeholder="true"
itemSortable="#{choice.sortable}" itemDraggable="#{choice.draggable}">
<h:panelGroup styleClass="sortable-li-icon sortable-li-icon1" rendered="#{not choice.listNode}"/>
<h:panelGroup styleClass="sortable-li-icon sortable-li-icon2" rendered="#{choice.listNode}"/>
<h:outputText value="#{choice.displayName}" escape="false"/>
</jtcomp:sortableList>
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 23 guests