Chapter 5. Data Iteration Components

In this chapter, we will cover:

  • Selecting rows in dataTable
  • Sorting and filtering data in dataTable
  • In-cell editing with dataTable
  • Resizing, reordering, and toggling columns in dataTable
  • Making dataTable responsive
  • Using subTable for grouping
  • Handling tons of data – LazyDataModel
  • Listing data with dataList
  • Listing data with pickList
  • Listing data with orderList
  • Visualizing data with tree
  • Visualizing data with treeTable
  • Exporting data in various formats
  • Managing events with schedule by leveraging lazy loading
  • Visualizing data with dataScroller

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.26.138