Author Topic: How to get rowIndex through cell value  (Read 2710 times)

Ganesh

  • Newbie
  • *
  • Posts: 3
    • View Profile
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.