Hi AllVB Code:
Dim tableStyle1 As New DataGridTableStyle ' DataGridTableStyle tableStyle1.MappingName = "Stock" Me.dbgMain.TableStyles.Clear() Me.dbgMain.TableStyles.Add(tableStyle1) Me.dbgMain.TableStyles("Stock").GridColumnStyles("ID").Width = 0
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?




Reply With Quote