Apparently, I''ve screwed something up, but I don''t know what-
I''ve got a databound grid that I dynamically bind to a dataview using something similar to;
dvDepartments = New DataView(DepartmentsDataTable, "StoreID = 1", "Descrip" DataViewRowState.CurrentRows)
gridDepartment.DataSource = dvDepartments
However I cannot figure out how to add a new row to the grid. I''ve set AllowNew on the DataView, and EnableAddNew on the grid, and I can begin typing in the very last grow of the grid, but as soon as I click on a different row, anything I entered dissappears.
Is there something obvious that I''m missing here?
ADAdministrator Syncfusion Team August 6, 2004 02:57 AM UTC
Nevermind. I *was* missing something obvious -- my DataView is filtered by StoreID, and since this value wasn''t being set, the row is filtered out as soon it loses focus.
I had a fresh cup of coffee, and things started looking a little clearer!