|
-
Jun 6th, 2002, 07:48 PM
#1
Thread Starter
Addicted Member
DataGrid Hell
I now believe I am back at the bottom of the learning curve and boy what a long way to go, if I am spending so much time getting to grips with a "simple" datagrid .
- .net programmers will be a rare breed - C++ was easier to learn
Any help on the three problems below would really be appreciated.
1.) - Boolean Values in the datagrid
I have a DataGridBoolColumn in the Datagrid. The checkbox inserted in the column gives me three states True,False and Null
How does one stop this giving a null state - and why on this good earth would you want a bool to be in a null state. It would definitely not be a boolean by definition.
2.) - Databinding
I can edit the grid but the last item editted is not updated in the bound datatable. It appears that if the cell still has focus and one then clicks on a button (not part of the grid) to update - the cell with the focus is not updated. Updating obviously occurs on the loss of the focus. Is there a update type of methods that force updating of the binding.
3.) - Adding extra row.
I want the user to be able to edit the grid but not add new records. If I set the readonly property to False, the datagrid decides - without my consent - to add another row for possible addittions. How do I prevent this.
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
|