Hi Vivek,
We can able to achieve your requirement in spreadsheet by using beforeSelect event. Please find the below code example,
|
beforeSelect(args) {
let indexes = getRangeIndexes(args.range);
if (indexes[0] === 0 && indexes[2] >= 99 && indexes[1] === indexes[3]) {
args.cancel = true;
const left = this.spreadsheetObj.getCell(0, indexes[1]).offsetLeft + 39; // row header width 30px + body padding 8px;
const top = this.spreadsheetObj.element.querySelector('.e-sheet').offsetTop + this.spreadsheetObj.element.querySelector('.e-column-header').offsetHeight;
this.contextmenuObj.open(top, left);
}
} |
For your reference we have prepared a sample, please find the below link.
Could you please check the above details and get back to us whether it fulfill your requirement or need further assistance on this.
Regards,
Thaneegairaj S