Author Topic: pqgridrowselect is Triggered Twice  (Read 2681 times)

sidads

  • Newbie
  • *
  • Posts: 11
    • View Profile
pqgridrowselect is Triggered Twice
« on: May 19, 2015, 08:54:16 am »
Hello ParamQuery Experts,

I have following code to perform function call when a Row is selected on Grid and I am noticing that this event is getting triggered twice... kindly help me what am I missing and how to resolve this issue.

Code: [Select]
     $(grid).on("pqgridrowselect" , function(event, ui) {
var rowno = ui.rowIndx;
Value = ui.dataModel.data[rowno][1];
RefreshChildGrid();
});

I appreciate any help & guidance.

Regards,
Sidads

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: pqgridrowselect is Triggered Twice
« Reply #1 on: May 19, 2015, 06:31:00 pm »
If you bind it twice, it would fire twice.

So double check your code where you have bind to the rowSelect event.