Results 1 to 4 of 4

Thread: Can anyone help? Selecting rows in DataGrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    2
    I have a bound DataGrid (read only) and I want to be able to select multiple rows when I click on them with the left mouse button (much like the multi select feature in a list box). How would I go about doing something like this? Or can someone point me to an example/article on selecting?

    Thank you!

    Linda

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982
    Multi rows can be selected by holding the Ctrl key down and selecting the row.


    Things I do when I am bored: DotNetable

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    2
    Mine doesn't, so does that mean there is a property that has to be set that I haven't?

  4. #4
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982
    Right click the datagrid and click Properties
    Select the Splits tab
    Ensure the 'Record Selectors' check box is checked, if not check it.

    This will put a grey column down the left of your control when run. The black arrow will indicate the current record. Now press the Ctrl button select the row by clicking the grey area for the applicable rows.


    Things I do when I am bored: DotNetable

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width