Author Topic: How can I access the dom object for the grid-overay of the selectionModel?  (Read 314 times)

tbum

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 11
    • View Profile
How can I access the dom object for the grid-overay of the selectionModel?
I want to set different colors depending on the selected area position.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6122
    • View Profile
class of the selection overlay is "pq-grid-overlay r11c12r21c23" so you can add the style according to the selected area.

class r11c12r21c23 implies r1: 1, c1: 2, r2: 1, c2: 3

tbum

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 11
    • View Profile
Thank you