DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004

    Question Datagrid Resizing Issue.

    Hello Again,

    1) These datagridview are kicking my backside..! I have a sub that sets the HeaderText and Width of my grids. One for each grid. I doing code behind the click of the main grid so I can populates the others based on what is selected. When I click through the records in the main grid the column widths resize on there own in the other grids.

    2) Lets say my dataset is filling the grid with 4 columns. There always 1 column before the first with data that I can't stand. I've tried selecting the (0) indexed column but this doesn't work. How do I get rid of this column?

    Any ideas about this?

    Thanks in advance!

    Last edited by jcb1269; 01-24-2007 at 04:25 PM.

  2. #2
    Join Date
    May 2004
    Duluth MN
    datagridview.RowHeadersVisible = False


Similar Threads

  1. Replies: 0
    Last Post: 09-02-2005, 07:28 PM
  2. Replies: 5
    Last Post: 05-04-2005, 12:37 PM
  3. Is there guidelines for proper use of DataGrid
    By Thomas Eyde in forum .NET
    Replies: 8
    Last Post: 08-01-2002, 06:43 PM
  4. Threading and the .NET Datagrid
    By McCleud in forum .NET
    Replies: 2
    Last Post: 08-01-2002, 10:54 AM
  5. Resizing DataGrid columns...
    By Russ Suter in forum .NET
    Replies: 2
    Last Post: 06-28-2002, 09:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.