title: jqgrid & Lib.Web.Mvc.JQuery.JqGrid.DataAnnotations:how hide column?
body: <p>I have this jqgrid </p>
  
  <pre><code>var grid = new JqGridHelper&lt;VisualisationModel&gt;(
      "gridVisualizzazioni",
      caption: null,
      dataType: JqGridDataTypes.Json,      
      methodType: JqGridMethodTypes.Post,
      pager:true,
      sortingName: "IndicatoreVisualizzazioniPk",
      sortingOrder: JqGridSortingOrders.Asc,
      url: Url.Action("LoadGrid", new {
                                        indicatorePk = Model.IndicatorePk
                                      }),
      autoWidth: true,
      viewRecords: true, 
      loadComplete:"SetCellBackColor");
  </code></pre>
  
  <p>And in my model I create some column...</p>
  
  <p>In particular</p>
  
  <pre><code>[Required]
  [JqGridColumnFormatter(JqGridColumnPredefinedFormatters.Integer)]
  public int AggregazioniDatiId { get; set; }
  </code></pre>
  
  <p>It is possible hide the above column in jqGrid by DataAnnotation?</p>
  
  <p>I have tried with</p>
  
  <pre><code>[ScaffoldColumn(false)]
  </code></pre>
  
  <p>but in the colModel the column don't appear and then my jquery code does not work</p>
  
  <pre><code>var grid = $("#gridVisualizzazioni");
  var selRowId = grid.jqGrid('getGridParam', 'selrow');
  var celValue = grid.jqGrid ('getCell', selRowId, 'AggregazioniDatiId');
  </code></pre>
  
  <p>Thanks in advance.</p>
  
  <p>Sara</p>