Answers for "show context menu in ag-grid"

0

show context menu in ag-grid

(params: CellClickedEvent): void => {

  const {rowIndex, node, column, event, value} = params;

  const cell = params.api.rowRenderer.rowCompsByIndex[rowIndex].getRenderedCellForColumn(column);

  cell.beans.contextMenuFactory.showMenu(node, column, value, event);
};
Posted by: Guest on June-19-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language