Posted 6 November 2020, 1:31 am EST
Hi,
We have a requirement where the flex grid column would have a which opens a pop-up also the column text would have another which redirects to a page. See below our implemented code.
intLoad(){
this.flex.formatItem.addHandler((s: FlexGrid, e: FormatItemEventArgs) => {
if (e.panel == this.flex.cells && this.flex.columns[e.col].binding == ‘colName123’) {
e.cell.innerHTML =
;<a class="style-description" >${this.flex.rows[e.row].dataItem.colName123}</a>
}
});
}
however the text assigned to colName123 has value like this - This is a popup with ID 12304 in the cell.
The issue is am able to see the link and popup fine till half of the text whereas “in the cell” is not shown as clickable.