1
Help for ParamQuery Grid (free version) / How to get rowIndex through cell value
« on: April 21, 2014, 07:21:40 pm »
Hi,
I tried to get rowIndex by using the cell value. For example if am giving the cell value like VOYAGE it needs to print the rowIndex like 2. I used the following code
var obj = $( "#VoyageDetails_tab_main" ).pqGrid( "getRowIndx", {tr:"VOYAGE HEIGHT"});
var rowIndx = obj.rowIndx;
alert(rowIndx);
am always getting undefined only. What i need to put in that colored area or else what i did wrong. Any one help me.
I tried to get rowIndex by using the cell value. For example if am giving the cell value like VOYAGE it needs to print the rowIndex like 2. I used the following code
var obj = $( "#VoyageDetails_tab_main" ).pqGrid( "getRowIndx", {tr:"VOYAGE HEIGHT"});
var rowIndx = obj.rowIndx;
alert(rowIndx);
am always getting undefined only. What i need to put in that colored area or else what i did wrong. Any one help me.