Sep 16, 2005 #1 magmo Programmer May 26, 2004 291 SE Hi I wonder if there is a way to disable the last (new) line in a datagrid. Regards
Sep 16, 2005 #2 RiverGuy Programmer Jul 18, 2002 5,011 US Yes. Create a read-only DataView and use that for the datasource. Upvote 0 Downvote
Sep 16, 2005 #3 RiverGuy Programmer Jul 18, 2002 5,011 US Actually .AllowEdit to false I mean Upvote 0 Downvote
Sep 16, 2005 Thread starter #4 magmo Programmer May 26, 2004 291 SE Is there a way to do this when I use a dataset? Upvote 0 Downvote
Sep 16, 2005 Thread starter #5 magmo Programmer May 26, 2004 291 SE Solved it by setting datagrid to readonly Upvote 0 Downvote
Sep 16, 2005 #6 RiverGuy Programmer Jul 18, 2002 5,011 US Readonly does not allow you to make any updates. The only way to accomplish updates without new rows is to use a DataView. Upvote 0 Downvote
Readonly does not allow you to make any updates. The only way to accomplish updates without new rows is to use a DataView.
Sep 16, 2005 Thread starter #7 magmo Programmer May 26, 2004 291 SE Well thats fine, beacuse I only use it to write out database rows together with a checkbox so that the user can select one or more rows. /Magnus Upvote 0 Downvote
Well thats fine, beacuse I only use it to write out database rows together with a checkbox so that the user can select one or more rows. /Magnus