Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. DataGrid Control

DataGrid Control

Scheduled Pinned Locked Moved Visual Basic
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    somagunasekaran
    wrote on last edited by
    #1

    I need to have a column that should display a combobox. However the contents of the combobox are not always the same, they depend on the value of another cell. So I want is that when the cellEnter event of the column in question fires, the combobox appears on the current cell and its contents depend on the cell to the left. When the cellLeave event of the same column fires, the combobox disappears and the cell now is just a text cell with the contents of the selected item from the combobox. When the cellEnter event in the Column in question fires and the cell is not empty, the combobox should appear and the text selected from the items list Thanking You somasundaram G

    D 1 Reply Last reply
    0
    • S somagunasekaran

      I need to have a column that should display a combobox. However the contents of the combobox are not always the same, they depend on the value of another cell. So I want is that when the cellEnter event of the column in question fires, the combobox appears on the current cell and its contents depend on the cell to the left. When the cellLeave event of the same column fires, the combobox disappears and the cell now is just a text cell with the contents of the selected item from the combobox. When the cellEnter event in the Column in question fires and the cell is not empty, the combobox should appear and the text selected from the items list Thanking You somasundaram G

      D Offline
      D Offline
      Dean_SF
      wrote on last edited by
      #2

      There are lots of great samples of how to manipulate the DataGrid here: http://www.syncfusion.com/FAQ/winforms/default.aspx#44[^] But look real closely at example 5.9. In there it talks about creating the combobox and filling it with data. Do you want the data in the combobox to be bound or unbound? Dean

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups