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. Windows Forms
  4. How to programatically hide a DatagridComboboxColumn? [modified]

How to programatically hide a DatagridComboboxColumn? [modified]

Scheduled Pinned Locked Moved Windows Forms
helptutorialquestion
5 Posts 4 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.
  • R Offline
    R Offline
    rhemy
    wrote on last edited by
    #1

    Hello. I have a DataGrid with a DatagridBoolColumn and DatagridComboboxColumn. I need to hide the DatagridComboboxColumn when the value of DatagridBoolColumn is False. Is there a way to do this? Please help me!

    modified on Tuesday, April 28, 2009 2:22 AM

    M A 2 Replies Last reply
    0
    • R rhemy

      Hello. I have a DataGrid with a DatagridBoolColumn and DatagridComboboxColumn. I need to hide the DatagridComboboxColumn when the value of DatagridBoolColumn is False. Is there a way to do this? Please help me!

      modified on Tuesday, April 28, 2009 2:22 AM

      M Offline
      M Offline
      Michael Bookatz
      wrote on last edited by
      #2

      DatagridComboboxColumn.Visible = false; try that

      modified on Tuesday, April 28, 2009 7:14 AM

      H 1 Reply Last reply
      0
      • M Michael Bookatz

        DatagridComboboxColumn.Visible = false; try that

        modified on Tuesday, April 28, 2009 7:14 AM

        H Offline
        H Offline
        Henry Minute
        wrote on last edited by
        #3

        hopingToCode wrote:

        DatagridComboboxColumn.VisableVisible = false;

        Fixed that for you. :-D

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

        M 1 Reply Last reply
        0
        • H Henry Minute

          hopingToCode wrote:

          DatagridComboboxColumn.VisableVisible = false;

          Fixed that for you. :-D

          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

          M Offline
          M Offline
          Michael Bookatz
          wrote on last edited by
          #4

          Thank you getting to lazy and relying on inti sense

          1 Reply Last reply
          0
          • R rhemy

            Hello. I have a DataGrid with a DatagridBoolColumn and DatagridComboboxColumn. I need to hide the DatagridComboboxColumn when the value of DatagridBoolColumn is False. Is there a way to do this? Please help me!

            modified on Tuesday, April 28, 2009 2:22 AM

            A Offline
            A Offline
            Ageesh
            wrote on last edited by
            #5

            hi.. this single line code will do.. DatagridComboboxColumn.Visible = false; "DatagridComboboxColumn" this will change according to the name of column u set. with rgrds ageesh M

            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