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. Runtime Scrollbar in Datagrid

Runtime Scrollbar in Datagrid

Scheduled Pinned Locked Moved ASP.NET
question
6 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
    monika_vasvani
    wrote on last edited by
    #1

    Hi ALl i have generated one datagrid at runtime.I want to add scrollbar in that datagrid at runtime also How is it possible? Thanks monika

    V I 2 Replies Last reply
    0
    • M monika_vasvani

      Hi ALl i have generated one datagrid at runtime.I want to add scrollbar in that datagrid at runtime also How is it possible? Thanks monika

      V Offline
      V Offline
      VMSSanthosh
      wrote on last edited by
      #2

      its not possible to add scroll bar to a datagrid.. u can do it by placing the datagrid inside div tag and set the style attribute as style="overflow:auto"

      VMSSanthosh

      M 1 Reply Last reply
      0
      • V VMSSanthosh

        its not possible to add scroll bar to a datagrid.. u can do it by placing the datagrid inside div tag and set the style attribute as style="overflow:auto"

        VMSSanthosh

        M Offline
        M Offline
        monika_vasvani
        wrote on last edited by
        #3

        Hi Is it possible using javascript?if yes,then if u have code,pls give me. Thanks monika

        V 1 Reply Last reply
        0
        • M monika_vasvani

          Hi ALl i have generated one datagrid at runtime.I want to add scrollbar in that datagrid at runtime also How is it possible? Thanks monika

          I Offline
          I Offline
          indianet
          wrote on last edited by
          #4

          enclose datagrid tags inside <div style=" OVERFLOW: auto; HEIGHT: 150px"> </div>

          1 Reply Last reply
          0
          • M monika_vasvani

            Hi Is it possible using javascript?if yes,then if u have code,pls give me. Thanks monika

            V Offline
            V Offline
            VMSSanthosh
            wrote on last edited by
            #5

            what why u need javascript for this.. no need of javascript.. just place the datagrid inside div tag

            VMSSanthosh

            V 1 Reply Last reply
            0
            • V VMSSanthosh

              what why u need javascript for this.. no need of javascript.. just place the datagrid inside div tag

              VMSSanthosh

              V Offline
              V Offline
              VMSSanthosh
              wrote on last edited by
              #6

              VMSSanthosh

              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