Hi,
I want to add some columns manually, but it is not appear always.
Some code like follows:
How can I do it? Please help me.
I want to add some columns manually, but it is not appear always.
Some code like follows:
| radGvAllocateList.MasterGridViewTemplate.AutoGenerateColumns = false; ; |
| GridViewTextBoxColumn colText = new GridViewTextBoxColumn(); |
| colText.UniqueName = "colStaff"; |
| colText.HeaderText = FormText.Collector; |
| colText.Width = 100; |
| radGvAllocateList.MasterGridViewTemplate.Columns.Add(colText); |
| GridViewTextBoxColumn colRate = new GridViewTextBoxColumn(); |
| colRate.UniqueName = "colRate"; |
| colRate.DataType = typeof(decimal); |
| colRate.HeaderText = FormText.Collector; |
| colRate.Width = 60; |
| radGvAllocateList.MasterGridViewTemplate.Columns.Add(colRate); |
How can I do it? Please help me.