ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: sidads on May 19, 2015, 08:54:16 am

Title: pqgridrowselect is Triggered Twice
Post by: sidads 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
Title: Re: pqgridrowselect is Triggered Twice
Post by: paramvir 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.