DataGridView - column widths problem

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

I have changed the widths of the columns on my data gride view.

In the VS interface, it shows the columns as having diferent widths but when I run the application, they are all the same widths.

I have tried “All Rows”, “Header Width”, None and set the widths to 350, 250  but they all show the same width when it runs.

What do I need to do to get these to display correctly?  I figure I am missing something but I don’t know what.

 

Thanks,

Shawn

  • Shawn Ramirez
    I want to add to this ticket. I am also having a problem where the DefaultCellStyle is not saving when I make changes in the VS UI. I think I have this one figured out but it does need some attention from the WiseJ dev staff. If you have multiple data grid views on a single form and you edit DGV1’s columns in “Edit Columns” , then press save. It will save DGV1’s changes but the other DGVs will be reset to “normal”. If I then go in and edit the DefaultCellStyle of DVG2, then go back and edit DGV1, without saving between, both of them will be saved correctly. Same thing if there are 3 DVGs. If you save any of them after editing jjust 1, it will revert the changes you made to the DGV settings back. I was just able to reproduce this behavoir twice. Thanks, Shawn
  • You must to post comments
0
0

I will create a test case as soon as I can create a new project.  My template troubles (http://wisej.com/support/answers/3648) are now preventing me from creating a new project.  I now have no templates showing in visual studio 2015.  I tried copying the templates from another developer’s computer but that didn’t help.  I am wondering if my “My documents” settings are just that messed up since I had my network admin change the group policy settings….

Thanks,

Shawn

  • You must to post comments
0
0

Hi Shawn,

I can’t reproduce the issues. I can’t find any enumeration AllRow ot HeaderWidth. Can you send a small test case or give me more info please?

/Luca

  • You must to post comments
Showing 2 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json