I would like to have a GridButtonColumn that begins an Insert in the DetailsTable under the current row. Is this possible? Basically, I can do an insert in the DetailsTable by showing the command row, but that row doesn't fit well in my grid and I would like to have the Add button show up in the parent row instead. I have a button and can catch the ItemCommand from the main grid, but can I initiate the Insert in the details table from there?
protected
void
g1_ItemCommand(
object
sender, GridCommandEventArgs e)
{
if
(e.CommandName ==
"AddPI"
)
{
// What goes here to init insert in detailstable[0]?
//e.Item.OwnerTableView.DetailTables[0].???
}
}