JointLantic

How to Hide or Unhide Row or Table in Grid on Level 1 By Peoplecode of Peoplesoft

How to Hide or Unhide Row or Table in Grid on Level 1 By Peoplecode of Peoplesoft

You can use Peoplecode in page activate or action field change  for hide all row in grid record level 1 or Unhide all row in grid record level 1.

For Example.  Define Page and a grid has record in level 1 on page. User has to hide grid when effdt not in this year and show or unhide grid when effdt in this area.

If you want to Hide Record in grid of Peoplecode on level 1

For &ROW = ActiveRowCount(Record.Record_Name) To 1 Step – 1
HideRow(Record.Record_Name, &ROW);
End-For;

If you want to Unhide Record in grid of Peoplecode on level 1

For &ROW = ActiveRowCount(Record.Record_Name) To 1 Step – 1
HideRow(Record.Record_Name, &ROW);
End-For;

Exit mobile version