Hi Muhammad,
Thanks for contacting Syncfusion support.
Query: My requirement is that when I double click on any row of grid , bootstrap popup modal should open with populated row data.
You can achieve your requirement by using recordDoubleClick event of Grid. It will be triggered when we double click the record and in that event arguments, you can get the correspond row details. Here, you can open your bootstrap dialog with the row data.
|
[app.component.html]
<ejs-grid
[dataSource]="data"
height="350"
(recordDoubleClick)="recordDoubleClick($event)"
>
----
</ejs-grid>
[app.component.ts]
recordDoubleClick(args) {
var rowData = args.rowData;
console.log(rowData);
console.log(args);
// do your action here and open the boostrap dialog with this rowData
} |
We need some clarifications on your requirement. So, please share the below details with us.
- Are you want to edit the row using bootstrap dialog?
- Please explain your requirement in detail.
Regards,
Rajapandiyan S