E
elime
Hi all
I load datas from an SQL server to a Datagrid. The datagrid columns are
basically read only but one column is not -> the checkboxcolum. The
user needs to be able to check or uncheck this column for selection.
Now at the end of the datagrid (last row) there is another row with a *
in front of it. Once a user clicks on that, at the position of the
checkboxcolumn, it'll add a new row to the datagrid with NULL values.
You can even add more such NULL-Value-rows by clicking again on the
same position of the new row etc...
Even if nothing can happen (the datacolumns are read only, nothing goes
back to the database) it still looks stupid on the grid. Can I somehow
prevent this? Is there anything like "AllowNewRows=false" or something?
Any help would be great, that row gets on my nerves
It doesn't look user-friendly and I need to get to this user-friendly
point with my project (its ad iploma project for my study)
Thanks
Elime
I load datas from an SQL server to a Datagrid. The datagrid columns are
basically read only but one column is not -> the checkboxcolum. The
user needs to be able to check or uncheck this column for selection.
Now at the end of the datagrid (last row) there is another row with a *
in front of it. Once a user clicks on that, at the position of the
checkboxcolumn, it'll add a new row to the datagrid with NULL values.
You can even add more such NULL-Value-rows by clicking again on the
same position of the new row etc...
Even if nothing can happen (the datacolumns are read only, nothing goes
back to the database) it still looks stupid on the grid. Can I somehow
prevent this? Is there anything like "AllowNewRows=false" or something?
Any help would be great, that row gets on my nerves

It doesn't look user-friendly and I need to get to this user-friendly
point with my project (its ad iploma project for my study)
Thanks
Elime