Kerry;
I got to the point where I can get the Datagrid to display boolCol column<
However, I still don't know how:
1. To have this column checked when the row is selected.
2. To figure out which rows have the boolCol checked.
Please see below and tell me what to do next.
Thanks
Bill
Dim cSelect As DataColumn
cSelect = New DataColumn("sel ected")
----
Dim boolCol As DataGridBoolCol umn
boolCol = New DataGridBoolCol umn
boolCol.Mapping Name = "selected"
boolCol.HeaderT ext = "Sel?"
boolCol.ReadOnl y = False
boolCol.Width = 30
boolCol.AllowNu ll = False
ts1.GridColumnS tyles.Add(boolC ol)
"Kerry Moorman" <Ke**********@d iscussions.micr osoft.com> wrote in message
news:74******** *************** ***********@mic rosoft.com...
Bill,
I think multiselect is the default behavior for a datagrid. You should be
able to hold down the Ctrl key and click on multiple rows of the grid. All
of
the clicked rows should be selected.
Here is a great source on the datagrid. There is an example of determining
the selected rows:
http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q775q
Kerry Moorman
"Bill nguyen" wrote:
I've been using Datagrid for most of my app's data entry screens. Now I
have
the need for users to select multiple rows for printing. Is it possible
with
Datagrid items?
Thanks
Bill