Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
AddNewRow not working when custom control used in a cell.
posted

Hello,

I created a xamDataGrid with 1 column. Each cell has my custom control - a modified ComboBox. The DataSource is set to a BindingList. I have set  AllowAddNew="True"  and  AllowEdit="True" AddNewRecordLocation="OnBottom"

The grid shows up with one row, with one column, and I can interact with my custom control.

Once I finish setting up values in my control - when the data record corresponding to row has a valid value, I would like to add a new empty row at the bottom of the grid. How can this be done? Currently I can set the value on the row but no new row shows up. Is there something my control needs to implement to notify the grid that the current row is set?

Please help!