Book Image

Primefaces Cookbook Second Edition

Book Image

Primefaces Cookbook Second Edition

Overview of this book

Table of Contents (20 chapters)
PrimeFaces Cookbook Second Edition
Credits
Foreword
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


In this chapter, we will cover the basic and advanced features to visualize data with the data iteration components provided by PrimeFaces. We will start with the dataTable component that offers extensive features, such as filtering, sorting, reordering, column resizing, and toggling. We will then focus on various other components, such as dataList that renders data in a listed format and pickList and orderList that provide data selection through listed sets. The tree and treeTable components list data in a tree format, and they are mostly based on the same data model. There is a sophisticated component called schedule to visualize calendar data, and we will demonstrate its usage with its lazy loading feature. Our final recipe for this chapter is based on dataScroller, which lazily loads data according to the page scroll done by the user.