title: how to get jqgrid first row data with out select in jsp?
body: <p>How to get table first row data in jqgrid?</p>
  
  <p><img src="https://i.stack.imgur.com/meYBf.jpg" alt="enter image description here"></p>
  
  <p>Here I want 2 and 4.0 data from jqgrid how to get this value without click table value?</p>
  
  <pre><code>var rowId = $("#gridtable2").getRowData(0);
  var name = rowId['m_tab_p'];
  </code></pre>
  
  <p>Here gridtable2 is jqgrid id, and m_tab_p is 1st column id..</p>
  
  <p>JSP grid code:</p>
  
  <pre><code>&lt;s:url id="remoteurl2" action="add_act" /&gt;
                          &lt;sjg:grid caption="RECORDS" gridModel="dto_plot_rep" width="250"
                              height="70" href="%{remoteurl2}" id="gridtable2" rownumbers="true"
                              viewrecords="true" pager="true" pagerPosition="centar"
                              navigator="true" navigatorSearch="true"
                              navigatorSearchOptions="{multipleSearch:true}"
                              navigatorDelete="false" navigatorEdit="false" loadonce="true"
                              onCompleteTopics="cal_tot" userDataOnFooter="true"
                               rowNum="0"&gt;
  
                              &lt;sjg:gridColumn name="m_tab_p" index="m_tab_plotno"
                                  title="PLOT" width="180" align="left" search="true"
                                  searchoptions="{sopt:['eq','cn']}" sortable="true" /&gt;
                              &lt;sjg:gridColumn name="m_tab_c" index="m_tab_cent" title="CENT"
                                  width="180" align="left" search="true"
                                  searchoptions="{sopt:['eq','cn']}" sortable="true" /&gt;
                          &lt;/sjg:grid&gt; 
  </code></pre>