Hi,
I am trying to setup the grid in the way that when ther user add a new item to the grid, it show something that the following html table:
<table>
<tr>
<td>Name</td>
<td>Surname</td>
</tr>
<tr>
<td colspan ='2'>Gender</td>
</tr>
</table
Something like 2 rows in one
All works fine, when I add a new item to the grid it greate the layout correctly, but when I perform click on the cell of the second "subrow", grid do not raise CellDoubleClick event, it only raise the event if a click on the first subrow.
Any help would be appreciated.
I am trying to setup the grid in the way that when ther user add a new item to the grid, it show something that the following html table:
<table>
<tr>
<td>Name</td>
<td>Surname</td>
</tr>
<tr>
<td colspan ='2'>Gender</td>
</tr>
</table
Something like 2 rows in one
All works fine, when I add a new item to the grid it greate the layout correctly, but when I perform click on the cell of the second "subrow", grid do not raise CellDoubleClick event, it only raise the event if a click on the first subrow.
Any help would be appreciated.
this.radGridControlSelection.BeginInit();
this.radGridControlSelection.DataSource = this.dataList;
HtmlViewDefinition view = new HtmlViewDefinition();
this.radGridControlSelection.ViewDefinition = view;
view.RowTemplate.Rows.Add(new RowDefinition());
view.RowTemplate.Rows.Add(new RowDefinition());
view.RowTemplate.Rows[0].Cells.Add(new CellDefinition("Name"));
view.RowTemplate.Rows[0].Cells.Add(new CellDefinition("Surname"));
view.RowTemplate.Rows[1].Cells.Add(new CellDefinition("Gender"));
view.RowTemplate.Rows[1].Cells[0].ColSpan = 2;
this.AsignTitlesToRadGridControlSelection();