or
Hi i am new to telerik and was trying telerik grid view for the first time.
can u please tell me if it is possible to add column group at design time???
| ToolWindow toolWindow = new ToolWindow("Menu"); |
| toolWindow.BackColor = Color.Transparent; |
| this.dockWorkField.DockWindow(toolWindow, DockPosition.Left); |
| //Change tooltabstrip color |
| ToolTabStrip toolTab = (ToolTabStrip)toolWindow.Parent; |
| toolTab.BackColor = Color.Transparent; |
| toolTab.RootElement.Shape = this.roundRectShape; |
| toolTab.Padding = new Padding(3); |
| ((FillPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[0])).GradientStyle = Telerik.WinControls.GradientStyles.Solid; |
| ((FillPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[0])).BackColor = Color.FromArgb(219, 198, 201); |
| ((FillPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[0])).Shape = this.roundRectShapeTop; |
| ((BorderPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[1])).Shape = this.roundRectShapeTop; |
| //Change splitter color |
| FillPrimitive FillElement = (FillPrimitive)this.dockWorkField.RootElement.Children[1].Children[0].Children[0]; |
| FillElement.BackColor = Color.Transparent; |
| FillElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid; |
I fill data in GridView using this Linq code:
| var p = dbZ.ZleceniaLinies |
| .Select(c => new |
| { |
| ID = c.idLinii, |
| Typ = c.Typ |
| }); |
| radDgvPozyc.DataSource = p; |
radDgvPozyc.DataSource = p;
It works very fine and I love Telerik GridView but. Line for adding new record is (I see it) on my form but I can't put data there. And I can't modify any cells because they not editable :(
I checked and RadGridView control is enabled and ReadOnly properties of the cell, column, and control are all set to false.
How set it do Add, Modify and Delete from this DataGrid?