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. Resizing Columns in a DataGrid

Resizing Columns in a DataGrid

Scheduled Pinned Locked Moved Visual Basic
csstutorialquestion
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.
  • E Offline
    E Offline
    Emile Jacobs
    wrote on last edited by
    #1

    We make extensive use of Datagrids in our project but a lot of the data displayed in the grid is either to big for the specific column or the column is to big for the data. Can ANYONE tell me how to resize only certain columns in the datagrid???? :confused::confused::confused::confused::confused:

    A 1 Reply Last reply
    0
    • E Emile Jacobs

      We make extensive use of Datagrids in our project but a lot of the data displayed in the grid is either to big for the specific column or the column is to big for the data. Can ANYONE tell me how to resize only certain columns in the datagrid???? :confused::confused::confused::confused::confused:

      A Offline
      A Offline
      ami uhle
      wrote on last edited by
      #2

      Hi!
      I've also tried this and went crazy doing so... I don't think it's possible.
      My advice is to use a ListView Control. You can't use Databinding then, but you can resize your columns to whatever size you want....
      If anyone knows how to resize the datagrid columns, i'd like to know how to do it, too!
      Sorry I couldn't give you better advice... :(
      -Timo

      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