How to open panel on click of record of basic list in PCF?

Introduction

In this blog, I am going to show you how to open a panel when a hyperlink is clicked using PCF control.

Solution

I have created a sample detail list that has some data which is generated randomly.

As you can see the “Name” column of this list contains hyperlinks.

Now to open panel on the onClick() event of these links we do the below change in the onRender() function.

After making these changes we can see that a panel can be seen whenever a link is clicked.

References:

How to create a detail list.

View Comments