cafferm
asked on
Stop Datagrid allowing new Rows
I have a datgrid with a table as the datasource.
I would like to prevent the datagrid from having new rows added to it but still require the user to be able to edit the contents. (stop the star row at the bottom)
I changed the datagrid to readonly however this stops editing completely even if i change the column style property to false
eg:
.GridColumnStyles(6).ReadO nly = False
.GridColumnStyles(7).ReadO nly = False
Thanks
matt
I would like to prevent the datagrid from having new rows added to it but still require the user to be able to edit the contents. (stop the star row at the bottom)
I changed the datagrid to readonly however this stops editing completely even if i change the column style property to false
eg:
.GridColumnStyles(6).ReadO
.GridColumnStyles(7).ReadO
Thanks
matt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Does this work even if not on a dataview?
ASKER
thanks very much!!!
Matt