Hello,
and what if I want to programmatic add a new column to an existing Detail Table?
something like that.
I used this successfully to add to the master table, but I cant add to the detail table.
How can I do the same with DETAILTABLES ?????
Thanxs
and what if I want to programmatic add a new column to an existing Detail Table?
something like that.
<MasterTableView> |
<detailtables> |
<Gridtableview> |
<columns> |
<gridboundcolumn></gridboundcolumn> |
<gridboundcolumn></gridboundcolumn> |
<gridboundcolumn></gridboundcolumn> |
How to insert more columns here, using the code behind? |
<columns> |
<gridtableview> |
</detailtables> |
<columns>......</columns> |
<MastertableView> |
I used this successfully to add to the master table, but I cant add to the detail table.
GridBoundColumn boundColumn; |
boundColumn = new GridBoundColumn(); |
RadGrid1.MasterTableView.Columns.Add(boundColumn); |
boundColumn.DataField = "valor"; |
boundColumn.HeaderText = "Valor"; |
boundColumn.UniqueName = "valor"; |
boundColumn.DataFormatString = "{0:R$###,###.##}"; |
Thanxs