Home > Net >  DataGridView why not displayed automatically, across or click of the mouse after the show, see figur
DataGridView why not displayed automatically, across or click of the mouse after the show, see figur

Time:11-27

CodePudding user response:

The
refer to the original poster liubaoen response:
give it a try

CodePudding user response:

Much, have the answer and I will take a look at this is why

CodePudding user response:

Is set to double cache are not, really is amazing,,,,

CodePudding user response:

Your redraw?

CodePudding user response:

If is the datagridview.net, your computer may have virus in
If it is your picture, that is to say, depends on the source code to analysis,
The.net versions, mechanism is different, may be you don't have a real-time rendering, or when the drawing, there is no drawing, or is made, the but again to clear

CodePudding user response:

reference liubaoen reply: 3/f
is set to double cache are not, really is amazing,,,,

You can, stick code?

CodePudding user response:

The picture shows a unbound columns, hid unbound columns and proved, or all of the data binding and proved.

CodePudding user response:

InvalidCells try

CodePudding user response:

When binding data, you should is to give an empty data source, loaded with value, so there will be such a problem, when binding data, the data source to empty the null, or binding is given the value of the data for the first time,

I like you, I set of controls, initialization time to a data source to a not instantiate objects, load control to assign a value, then to the initialization time is not binding, line

CodePudding user response:

Much, ordinary people want to make this effect did not come out!!

CodePudding user response:

Check the value is null

CodePudding user response:

11 references Mr_Left_001 response:
much, ordinary people do not want to make this effect comes out!!

Laugh, this is good

CodePudding user response:

Felt there was no timely handle computer interface rendering of this step, you try to play an online game card BuKa

CodePudding user response:

TGrid_Market. CurrentCell=null;
  •  Tags:  
  • C#
  • Related