Using Link component to open a dialog window

Hi,
I have been using datagrid's Event (e.g. single row click) to open a dialog window.
Recently switched to use a Link component in one of the column to open the same page.
However, there is no option to open a dialog window like what the datagrid's Event does.
Is there any way I can open a dialog window with a Link and not navigate to a new page?
Thanks.

You can use a button component instead and style it as a link.

  1. Assign a custom class
  2. Append this to your styles.css file (it is in the client\src\ directory of your app):
.link-button button.btn-primary {
  background-color: transparent;
  color: #479cc8;
  padding: 0;
}
1 Like