Author Topic: Highlighting selected row but selectionMode: cell  (Read 1673 times)

SHIN WOOCHUL

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 13
    • View Profile
Highlighting selected row but selectionMode: cell
« on: November 14, 2019, 02:10:01 pm »
Hi, I'd like to use selectionMode: cell to display the selected cell value, but at the same time I would like to highlight the row in which the selected cell is. How can it be done?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6282
    • View Profile
Re: Highlighting selected row but selectionMode: cell
« Reply #1 on: November 14, 2019, 08:16:06 pm »
You can use selecChange or selectEnd event to listen to cell selection changes and highlight the corresponding rows by addClass() method or manipulation of rowData.pq_rowattr.