I created a rowedittemplate for a band in my grid and set the rowedittemplate property for that band. In the code, I have the following code for a button click:
Dim newRow As UltraGridRow = gridTransaction.DisplayLayout.Bands(2).AddNew()
gridTransaction.ActiveRow = newRow
The rowedittemplate never appears. Then I tried just clicking on the row selector, in the cells, and anywhere else and it still won't appear. The grid is letting me edit the row directly but I want to use the template. The rowedittemplateuitype for the band is set to onenteredit mode. Any help would be appreciated.
So there are a few things you can try:
Here is what is happening and I'm not sure what to do. I am bound to a dataset at design-time, but at run time, I add a column to a table in the dataset (its an expression type column). As soon as that happens, the rowedittemplate for the band (which by the way is not the band bound to the table where the column was added) gets set to nothing.