Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
Opening of Dialog/Popup on click of any column data in Igx_grid
posted

Hi All,

I have a requirement which includes to open a popup or dialog on click of a particular column in Igx_grid, Any Idea how can we implement this feature using Ignite UI.

An Example for the solution would be very much helpful.

Thanks,

Subham

Parents
No Data
Reply
  • 1500
    Offline posted

    Hello,

    A way to achieve your goal would be to use the grid's onCellClick event, which will give you information about the row/column you have clicked, and then you can open the dialog programatically.

    onCellClick(eventIGridCellEventArgs) {
        if (event.cell.rowIndex % 2 === 0) {
          this.dialog.open();
        }
      }
    The following code will open a dialog on alternate rows. 
    Attached is an example for further reference.
    Sincerely,
    Tihomir Tonev
    Associate Software Developer
    Infragistics
Children