Mayra Mtz
Mayra Mtz

Reputation: 99

Add a search field by header using PeopleSoft

I’m looking to add search fields in each table header automatically using peoplesoft. Example

enter image description here

Upvotes: 0

Views: 304

Answers (1)

Walucas
Walucas

Reputation: 2568

Javascript solution:

  1. add an html area to your page (with rec field)
  2. assign via peoplecode an html object to the field
  3. use something like this Javascript Filter on the table

For this to work well, your grid needs to show all rows and not paginate.

If it paginates and you need to keep the pagination, then you need to go for the PS solution:

  1. Add one search field per header you want to search
  2. On the fieldchange you perform a rowset flush then .Select(" WHERE ...") to populate it based on the filter

Upvotes: 1

Related Questions