Author Topic: Select row on event ; contextmenu  (Read 2929 times)

easyKost

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 5
    • View Profile
Select row on event ; contextmenu
« on: July 07, 2016, 10:28:32 pm »
Hi,

i have a trigger on "pqGrid:rowRightClick"  and "pqGrid:cellRightClick" but they are not implemented in version 3.3.1 .

I use "contextmenu" event but when i click right, i enter in my function but the row is not selected.

Thanks and Regards,
Kamel




paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Select row on event ; contextmenu
« Reply #1 on: July 07, 2016, 10:48:18 pm »
DOM events are disabled since v3.2.0 for performance reasons.

They can be enabled by adding trigger: true property in the grid initialization object.

or you could use grid instance event listeners or event callbacks instead of DOM event listeners.

http://paramquery.com/pro/tutorial#topic-events