Z
zdrakec
Hello all:
This is a new one on me...
I have a datagrid, bound to a disconnected datatable (actually a
dataview flaked off of that table), to which my user is able to add new
records.
1) When I click on the * for a new row, it takes a long time for the
new row to appear.
2) Any value I enter into any column gets changed back to DBNull as
soon as I click or tab off of that column.
I have created many an editable datagrid, in exactly the same manner as
I am doing now, but have never had this problem, and after much poking
about I must admit I have no idea what the hell is going on.
The columns are defined as readonly=false both at the datatable level
and at the gridcolumnstyle level. The grid itself has readonly=false. I
explicitly set AllowEdit and AllowNew to true for the dataview.
The dataview sees that I'm trying to add a row at runtime, but of
course, the various data items contain dbnull when I am looking at it
at debug time.
Ideas?
Thanks much,
zdrakec
This is a new one on me...
I have a datagrid, bound to a disconnected datatable (actually a
dataview flaked off of that table), to which my user is able to add new
records.
1) When I click on the * for a new row, it takes a long time for the
new row to appear.
2) Any value I enter into any column gets changed back to DBNull as
soon as I click or tab off of that column.
I have created many an editable datagrid, in exactly the same manner as
I am doing now, but have never had this problem, and after much poking
about I must admit I have no idea what the hell is going on.
The columns are defined as readonly=false both at the datatable level
and at the gridcolumnstyle level. The grid itself has readonly=false. I
explicitly set AllowEdit and AllowNew to true for the dataview.
The dataview sees that I'm trying to add a row at runtime, but of
course, the various data items contain dbnull when I am looking at it
at debug time.
Ideas?
Thanks much,
zdrakec