Question


Cognizant
IN
Last activity: 7 Jun 2024 4:44 EDT
We have dropdown with 1-9 values now if i select value as 1 the table should populate with 1 entry and if i select 5 the table should populate with 5 entries how to do this
there is a dropdown with 1-9 values now if i select value as 1 the table should populate with 1 entry and if i select 5 the table should populate with 5 entries how to do this.
Bascially depending on the number there should be entry added in the table.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 7 Jun 2024 4:44 EDT


Eclatprime Digital Private Limited
AU
Hi @TanyaS58,
Give pagelist property as a source to the Table.(eg: Customer Details)
As you have created a dropdown property with 1-9,
Create an action set with onchange of dropdown value refresh the section.
create an activity:
Append the rows by looping the pagelist with dropdown value as you given.
For your reference, I am giving the snapshots
1.Created dropdown field and table
2.create actionset on dropdown property
3.Activity for append the rows in table as dropdown value
Hi @TanyaS58,
Give pagelist property as a source to the Table.(eg: Customer Details)
As you have created a dropdown property with 1-9,
Create an action set with onchange of dropdown value refresh the section.
create an activity:
Append the rows by looping the pagelist with dropdown value as you given.
For your reference, I am giving the snapshots
1.Created dropdown field and table
2.create actionset on dropdown property
3.Activity for append the rows in table as dropdown value
4.Testing by giving 4 in dropdown value to add 4 rows in table
Hope this helps you
Thank you


Maantic Inc
IN
What do you mean by number of entries? Number of rows added in the table? Then on change of the dropdown, run a DT where keep the value of the dropdown in a param. Then loop through the table to add values but keep a when rule on the loop where you check the (param.pyForEachCount or .pxListSubscript)<=param that you saved.


Maantic Inc
IN
So you can limit the append on the value of the property in the dropdown as I mentioned above.


Eclatprime Digital Private Limited
AU
Hi @TanyaS58, Do you want to create data or display data based upon this drop-down value?


Cognizant
IN
@KavyaKumariYegireddi just display data based on the dropdown value
Accepted Solution
Updated: 7 Jun 2024 4:44 EDT


Eclatprime Digital Private Limited
AU
Hi @TanyaS58,
Give pagelist property as a source to the Table.(eg: Customer Details)
As you have created a dropdown property with 1-9,
Create an action set with onchange of dropdown value refresh the section.
create an activity:
Append the rows by looping the pagelist with dropdown value as you given.
For your reference, I am giving the snapshots
1.Created dropdown field and table
2.create actionset on dropdown property
3.Activity for append the rows in table as dropdown value
Hi @TanyaS58,
Give pagelist property as a source to the Table.(eg: Customer Details)
As you have created a dropdown property with 1-9,
Create an action set with onchange of dropdown value refresh the section.
create an activity:
Append the rows by looping the pagelist with dropdown value as you given.
For your reference, I am giving the snapshots
1.Created dropdown field and table
2.create actionset on dropdown property
3.Activity for append the rows in table as dropdown value
4.Testing by giving 4 in dropdown value to add 4 rows in table
Hope this helps you
Thank you