title: I want to trigger the CRUD row Update operation in a javascript function for an Infragistics WebDataGrid
body: <p>I have the following Infragistics WedDataGrid (version 2.9.2), and JavaScript function.  The first column in the WedDataGrid is a checkbox in a templated field and the javascript function is called on the checkbox click event. </p>
  
  <p>I want to trigger the CRUD row Update operation from within the javascript function on the row that was checked. What is the call I need to use?  Or can you recommend another way of doing this? I don't want to trigger it on rowselection changed, just when the checkbox is checked.</p>
  
  <p>the js:</p>
  
  <pre><code> &lt;script type="text/javascript"&gt; 
   function  RowSelectedByCb(id) { 
   // trigger a row Update, but how?  } 
   &lt;/script&gt;
  </code></pre>
  
  <p>the wdg:</p>
  
  <pre><code>   &lt;ig:WebDataGrid ID="igWdgComments" StyleSetName="Harvest" runat="server"
                DataSourceID="odsSelectComments" AutoGenerateColumns="False" 
          DataKeyFields="DrugCommentPKey" AutoCRUD ="true"  EnableViewState ="False"&gt; 
          &lt;Columns&gt;
             &lt;ig:TemplateDataField Key="cbSelect" Width="30px"&gt;&lt;Header Text=" " /&gt;
              &lt;ItemTemplate&gt;
                &lt;asp:CheckBox ID="cbSelect" runat="server" onclick="RowSelectedByCb(this)" /&gt;
               &lt;/ItemTemplate&gt;
             &lt;/ig:TemplateDataField&gt;
  </code></pre>
  
  <p>Rest of the columns...  </p>
  
  <pre><code>  &lt;Behaviors&gt;
      &lt;ig:Activation Enabled="true" /&gt; 
      &lt;ig:RowSelectors RowNumbering="True" /&gt; 
      &lt;ig:Selection RowSelectType="Single" CellClickAction="Row" Enabled ="true"&gt; 
      &lt;SelectionClientEvents CellSelectionChanged="CellChanged" /&gt; 
      &lt;/ig:Selection&gt; 
       &lt;ig:EditingCore &gt; 
         &lt;Behaviors&gt; 
          &lt;ig:CellEditing&gt; 
            &lt;CellEditingClientEvents EnteringEditMode="CellChanged" /&gt; 
            &lt;EditModeActions EnableOnActive="True" MouseClick="Single" EnableOnKeyPress="True" /&gt;
          &lt;/ig:CellEditing&gt;
        &lt;/Behaviors&gt;
       &lt;/ig:EditingCore&gt;
     &lt;/Behaviors&gt;
  </code></pre>
  
  <p>Other stuff...</p>