|
-
Apr 30th, 2004, 01:53 PM
#1
Thread Starter
Hyperactive Member
datagrid
How to make datagrid all columns uneditable? thanks
-
Apr 30th, 2004, 02:31 PM
#2
Lively Member
Set the DataGrid's ReadOnly property to True.
Hope that helps
-
Apr 30th, 2004, 02:40 PM
#3
Thread Starter
Hyperactive Member
yes, that is what I did. Thanks.
Now I have another question. Initially my grid is empty and ReadOnly. now I want to click a button to add a new row. I set ReadOnly to false. but I still do not see the empty row with *.
Do you have any idea?
-
Apr 30th, 2004, 02:57 PM
#4
Lively Member
i'm really not sure on this, but it is what i think will work... i have not done it.
add the new row to your datatable that the datagrid is bound to and i belive the grid will update accordingly by itself.
-
Apr 30th, 2004, 03:59 PM
#5
Member
You can find here a lot of good stuff about datagrid and other controls:
http://www.syncfusion.com/FAQ/WinForms/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|