| <telerik:GridBoundColumn DataField="LinkTrackMailRedirectId" |
| DataType="System.Int32" EmptyDataText="&nbsp;" |
| HeaderText="LinkTrackMailRedirectId" ReadOnly="True" |
| SortExpression="LinkTrackMailRedirectId" UniqueName="LinkTrackMailRedirectId" |
| ForceExtractValue="Always"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="LinkTrackMailId" DataType="System.Int64" |
| EmptyDataText="&nbsp;" HeaderText="LinkTrackMailId" ReadOnly="True" |
| SortExpression="LinkTrackMailId" UniqueName="LinkTrackMailId" |
| ForceExtractValue="Always"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="DestUrl" EmptyDataText="&nbsp;" |
| HeaderText="DestUrl" SortExpression="DestUrl" UniqueName="DestUrl"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="LinkUrl" EmptyDataText="&nbsp;" |
| HeaderText="LinkUrl" SortExpression="LinkUrl" UniqueName="LinkUrl"> |
| </telerik:GridBoundColumn> |
Hello!
I have below grid
ID Name Observations
1 Child1 offense type 1
1 Child1 offense type 2
1 Child1 offense type 3
2 Child2 offense type 1
2 Child2 offense type 2
2 Child2 offense type 3
And I like to suppress repeating column values to have below. Are there any telerik grid properties already to do that?
ID Name Observations
1 Child1 offense type 1
offense type 2
offense type 3
2 Child2 offense type 1
offense type 2
offense type 3
Thanks in advance
| if (e.Item is GridEditFormItem && e.Item.IsInEditMode) |
| { |
| GridEditFormItem item = (GridEditFormItem)e.Item; |
| GridEditableItem eeditedItem = e.Item as GridEditableItem; |
| DropDownList list = item.FindControl("NumericGrade") as DropDownList; |
| GridDataItem dataItem = e.Item as GridDataItem; |
| String sPoints = dataitem["Points"].Text; |
| int iPoints = Convert.ToInt16(sPoints); |
| for (int j = 0; j < iPoints + 1; j++) |
| { |
| list.Items.Add(j.ToString()); |
| } |
I guess I could create a GridTemplateColumn for the Points field and then it would be accessible in GridEditFormItem(?) but I don't really want to through extra fields into the edit form?