VB Code:
  1. Dim tableStyle1 As New DataGridTableStyle ' DataGridTableStyle
  2.  tableStyle1.MappingName = "Stock"
  3.  Me.dbgMain.TableStyles.Clear()
  4.  Me.dbgMain.TableStyles.Add(tableStyle1)
  5.  Me.dbgMain.TableStyles("Stock").GridColumnStyles("ID").Width = 0
Hi All

I Use the above .net code to hide certain columns on the datagrid which enable me to hide or display certain columns according to the users choice.

I am looking for an similar way to achieve the same in Crystal. In other words to give the user a facility to hide or show certain columns or even to resize certain fields.

How do I go about doing this in crystal?