Question
Datacom
NZ
Last activity: 4 Oct 2018 11:08 EDT
Repeating Grid - Hide "Add Item" "Delete" buttons when inside Read-Only component
Hi,
I want to use a section which is a Repeating Grid of Dynamic Layout
1) Inside another Section which is Editable and
2) Inside another section that is Read-Only.
When using the section inside the Read-Only section, the "Add Item" "Delete" buttons are visible and rows can be added/deleted. I want the "Add Item" "Delete" buttons to be hidden when using the Repating Grid section inside inside the Read-Only section.
Would like to know if this is possible. I am using 7.1.5 verison
Regards
Vivek
***Moderator Edit: Vidyaranjan | Converted discussion to question ***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
also please try adding "!$input-Enabled" as visible when condition and share your observations. Thank you!
Coforge DPA
GB
Hi ,
May be you can try using Parameter between the sections . And use those parameters in the Visible when conditions for the Add and Delete Item .
Regards
Optus
AU
Hi,
You can use "pxIsEditable" OOTB when condition for add and delete buttons.
Accepted Solution
Pegasystems Inc.
IN
also please try adding "!$input-Enabled" as visible when condition and share your observations. Thank you!
Pegasystems Inc.
IN
I have added this condition but still i am not able to see the section in read only any suggestions? BTW my UI is totally distrubed when i use this!
Pegasystems Inc.
IN
I am sorry its working fine Thanks a Lot
Pegasystems Inc.
AU
"!$input-Enabled" worked perfectly. Thanks a zillion !!!
Wipro
NL
Hi Gary,
i tried the same in my code and it worked perfectly, but after some time it is not working.
do you have any idea or suggestion ?
Updated: 4 Jan 2016 23:47 EST
Common Wealth Bank of Australia
AU
When the grid repeat layout is invoked from a read-only section, we have a requirement to disable the "inline -> click row to edit" operation as well. Could this be achieved? or do we have any other alternative to disable the row edit on read-only section?
When we used "!$input-Enabled" in the header for Add, it worked perfectly. No issues on the header. It is the row in the table, that causes the issue, when we click the row, the column becomes editable.
We have tried the following but didn't work as expected,
There are only two columns in the table, hence decided to use the disable condition based on the expression "param.SectionReadOnly == -1". Initially, when the page is loaded both the columns are disabled,but when user clicks on the row, it becomes editable and user can manipulate the row. Does any one else have tried this?
Please let me know.
We are using Pega 7.1.9 version.
Regards,
Sri
Tcs
IN
Hi Vivek,
We can put a simple visibility condtion for Button to achieve ur req.
For instance : newAssignPage.pyAssignActions(1).pyActionName = 'Ur Flow Action name'
Pegasystems Inc.
IN