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. Control the width of datagrid columns in editmode?

Control the width of datagrid columns in editmode?

Scheduled Pinned Locked Moved ASP.NET
cssquestion
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.
  • R Offline
    R Offline
    RickardB
    wrote on last edited by
    #1

    Hi, When the default settings are used for the datagrid the columns changes it width in edit mode making the whole grid look kind of ugly. Is there anyway to to control the width of the gatagrid columns in editmode? Rickard

    M 1 Reply Last reply
    0
    • R RickardB

      Hi, When the default settings are used for the datagrid the columns changes it width in edit mode making the whole grid look kind of ugly. Is there anyway to to control the width of the gatagrid columns in editmode? Rickard

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      If you don't use AutoGenerateColumn , you can change style/properties of edit column with this tag: EditItemStyle Mazy You're face to face, With the man who sold the world - David Bowie

      R 1 Reply Last reply
      0
      • M Mazdak

        If you don't use AutoGenerateColumn , you can change style/properties of edit column with this tag: EditItemStyle Mazy You're face to face, With the man who sold the world - David Bowie

        R Offline
        R Offline
        RickardB
        wrote on last edited by
        #3

        I am using autogenerate columns... Rickard

        M 1 Reply Last reply
        0
        • R RickardB

          I am using autogenerate columns... Rickard

          M Offline
          M Offline
          Marcie Jones
          wrote on last edited by
          #4

          Hi Rickard, I have an FAQ about this: http://datagridgirl.com/faq.aspx#EditWidth Datagrid Girl Day Job, CP!: http://www.codeproject.com Datagrid Stuff: http://www.datagridgirl.com

          M 1 Reply Last reply
          0
          • M Marcie Jones

            Hi Rickard, I have an FAQ about this: http://datagridgirl.com/faq.aspx#EditWidth Datagrid Girl Day Job, CP!: http://www.codeproject.com Datagrid Stuff: http://www.datagridgirl.com

            M Offline
            M Offline
            Mazdak
            wrote on last edited by
            #5

            Marcie, After visiting your site,I think you deserve DataGrid Girl name. :-D Mazy "A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope

            M 1 Reply Last reply
            0
            • M Mazdak

              Marcie, After visiting your site,I think you deserve DataGrid Girl name. :-D Mazy "A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope

              M Offline
              M Offline
              Marcie Jones
              wrote on last edited by
              #6

              Thanks Mazy :P I do love the Datagrid... Marcie Day Job, CP!: http://www.codeproject.com Datagrid Stuff: http://www.datagridgirl.com

              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