Results 1 to 3 of 3

Thread: Datagrid with Combo boxes [Mimic VS.Net Properties window]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2003
    Posts
    308

    Question Datagrid with Combo boxes [Mimic VS.Net Properties window]

    Simply put, I want to mimic the ability of the “property” window in VS.Net.
    Using a DataSet [ds] to populate a Datagrid [dg] with 2 columns [Property Name, Property Value].

    When the user Clicks on the [Property Value] cell I want a combo box to appear with the possible values [populated from another DataSet] so the user can change the selection if required. Note that each combo box could have different options and thus populated by different datasets.

    Is this even possible? I have tried to add a combo box to the datagrid [dg.Contols.Add(Combobox);], however this adds the combo box on top of the grid itself and not in particular cells.

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    use the property grid control(or something like that)..it comes with the .net framework
    \m/\m/

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2003
    Posts
    308
    Thanks,

    I have been looking into that possibility a lot lately.
    However I do not think the PropertyGrid would be easy to mold for my purpose.

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