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. Web Development
  3. ASP.NET
  4. Scroll bar in data gridview

Scroll bar in data gridview

Scheduled Pinned Locked Moved ASP.NET
question
9 Posts 3 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.
  • M Offline
    M Offline
    myinstincts
    wrote on last edited by
    #1

    is it possible to add scrollbar to a datagridview???

    A P 2 Replies Last reply
    0
    • M myinstincts

      is it possible to add scrollbar to a datagridview???

      A Offline
      A Offline
      Arun Jacob
      wrote on last edited by
      #2

      Place gridview inside a panel or div and give scroll to that container.

      Arun Jacob http://codepronet.blogspot.com/

      M 2 Replies Last reply
      0
      • M myinstincts

        is it possible to add scrollbar to a datagridview???

        P Offline
        P Offline
        padmanabhan N
        wrote on last edited by
        #3

        by using div or panel you can acheive that... Panel:

        Div:

        Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]

        M 1 Reply Last reply
        0
        • A Arun Jacob

          Place gridview inside a panel or div and give scroll to that container.

          Arun Jacob http://codepronet.blogspot.com/

          M Offline
          M Offline
          myinstincts
          wrote on last edited by
          #4

          i placed the gridview inside the panel and set overflow: auto in panel style.But the scroll bar is coming for the whole page as such :(

          A 1 Reply Last reply
          0
          • M myinstincts

            i placed the gridview inside the panel and set overflow: auto in panel style.But the scroll bar is coming for the whole page as such :(

            A Offline
            A Offline
            Arun Jacob
            wrote on last edited by
            #5

            Gave Width & Height for Panel?

            Arun Jacob http://codepronet.blogspot.com/

            A 1 Reply Last reply
            0
            • A Arun Jacob

              Place gridview inside a panel or div and give scroll to that container.

              Arun Jacob http://codepronet.blogspot.com/

              M Offline
              M Offline
              myinstincts
              wrote on last edited by
              #6

              No..it is coming now...thanks arun

              A 1 Reply Last reply
              0
              • A Arun Jacob

                Gave Width & Height for Panel?

                Arun Jacob http://codepronet.blogspot.com/

                A Offline
                A Offline
                Arun Jacob
                wrote on last edited by
                #7

                Try setting Width and Height for Panel if not set.

                Arun Jacob http://codepronet.blogspot.com/

                1 Reply Last reply
                0
                • M myinstincts

                  No..it is coming now...thanks arun

                  A Offline
                  A Offline
                  Arun Jacob
                  wrote on last edited by
                  #8

                  myinstincts wrote:

                  No..it is coming now...thanks arun

                  great.welcome.

                  Arun Jacob http://codepronet.blogspot.com/

                  1 Reply Last reply
                  0
                  • P padmanabhan N

                    by using div or panel you can acheive that... Panel:

                    Div:

                    Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]

                    M Offline
                    M Offline
                    myinstincts
                    wrote on last edited by
                    #9

                    i am getting it by setting overflow :auto style in panel...but what is that overflow-x and overflow-y in your code?is it for setting scrollbar to x and y axis?

                    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