Hi Team,
I am required to show line item in pop-up dialog box. I am unable to get row index of the grid in commandClick.
commands in data() property
commandClick method. Unable to get rowIndex when clicking same row for second time
Grid with commandClick
Thanks & Regards,
Sandeep G
|
commandClick: function (args) {
var rowInfo = this.$refs.grid.ej2Instances.getRowInfo(args.target);
console.log( rowInfo);
alert("SelectedRowIndexes:" + rowInfo.rowIndex);
}, |
|
|
Hi PraveenKumar,
this.$refs.grid.ej2Instances.getRowInfo(args.target); works fine, where as getSelectedRowIndexes method return empty array when row selected se.
Thanks for your reply
Regards,
Sandeep G