UI Builder - Event that will show the Simple List when Pie Chart is clicked

NehaSNOW
Tera Guru

Hi Developers,

 

I have a Pie Chart that is showing the Counts for each Status. I want to pass an Event from the Pie Chart to the Simple List so that the Simple List will show only the records of the respective Status when Pie Chart is clicked.

Please suggest the steps to implement this.

Release: - Xanadu.

 

Pie Chart: - Example when the Resolved Status is clicked then the Simple list should display all the Resolved tickets.  

NehaSNOW_0-1737366956233.png

 

Simple List: -

NehaSNOW_1-1737367094431.png

 

 

 

1 REPLY 1

Akshays14
Tera Expert

1.Create client state parameter for exmple "currentSelection" of  type json

Akshays14_0-1737371639700.png

2.Add new client script and add below code

Akshays14_2-1737371812903.png

3.add above client script to event of reports in your case it will be "travel tickets by status"

Akshays14_3-1737371951241.png

4.In simple list configuration bind values from client state

Akshays14_4-1737372019792.png

 

If my answer helped you in any way, please then mark it as helpful or correct. This will help others finding a solution.