title: How to access data on a selected row of struts jquery grid plugin?
body: <p>Here's a brief code of the Grid:</p>
  
  <pre><code> &lt;s:url id="remoteurl" action="jsontable"/&gt;
  &lt;sjg:grid
      id="gridtable"
      caption="Items Result"
      formIds="gridSearchForm" 
      reloadTopics="reloadItemsGrid"
      dataType="json"
      href="%{remoteurl}"
      pager="true"
      gridModel="gridModel"
      rowList="10,15,20"
      rowNum="15"
      rownumbers="true"
      navigator="true"
      navigatorSearch="true"
      navigatorRefresh="true"
      viewrecords="true"
      width="600"
      pagerInput="false"
      pagerPosition="center"
      recordpos="right"
      direction="rtl"
      onSelectRowTopics="rowselect"&gt;
  
      &lt;sjg:gridColumn name="title" index="title" title="title" sortable="false"/&gt;
      &lt;sjg:gridColumn name="price" index="price" title="price" formatter="integer"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>and the subscribe function:</p>
  
  <pre><code>$.subscribe('rowselect', function(event, data) {
  alert('Selected Row : ' + event.originalEvent.id);
  });
  </code></pre>
  
  <p>The id accessed is the event.originalEvent.id id of the row from the database of the item.</p>
  
  <p>How do I access the price and title parameters of the selected row? Can someone give an example for the syntax to be used? is it through data or event?</p>
  
  <p>Thanks!</p>