valor-software / ng2-table

Simple table extension with sorting, filtering, paging... for Angular2 apps
http://valor-software.github.io/ng2-table/
MIT License
554 stars 336 forks source link

MDialog hide behind table triggered by onCellClick #608

Open kurushimeru opened 5 years ago

kurushimeru commented 5 years ago

Hi,

I've create at ng2-table standard, with the event (cellClicked)="onSelect($event)".

In my component :

public onSelect(data: any) {
        var config = new MdDialogConfig();

        config.position = {
            top: '-500px',
            left: '230px'
        };

        config.data = {
            groupeId: data.row["Id"]
        };

        this.dialog.open(DetailComponent, config);
    }

My dialog modal is correctly opened but is behind the table. How to fix that ?