ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: angelahlp on December 02, 2020, 02:33:53 am

Title: How do I get the dataIndx when I only have the colIndx
Post by: angelahlp on December 02, 2020, 02:33:53 am
I am using the selectEnd event and am only provided with the rowindx and the colindx. How can I get the dataIndx from the colIndx or from selectEnd?

Thank You
Title: Re: How do I get the dataIndx when I only have the colIndx
Post by: paramvir on December 02, 2020, 10:36:11 am
dataIndx can be obtained from colIndx

Code: [Select]
var dataIndx = grid.getColModel()[ colIndx ].dataIndx;