Home > Back-end >  In the DBGrid modification
In the DBGrid modification

Time:10-07

How to realize like Excel the point can be in the form of changes in it?
To double-click on the table there is change, change after return will save, do not enter some other places will cancel
If can let the content limit such as gender is a drop-down box so that better,
Is there a way to do it?

CodePudding user response:

No one know... ?

CodePudding user response:

The Grid keypress events inside can

If key=# 13 then determine whether to enter,
Ado, fields [] asstring choose line

CodePudding user response:

Use cxGrid, more powerful

CodePudding user response:

I used the dsEdit choose True all the Options to make the edit box, and then how to submit to the database?
When I press enter to move the focus is not saved, database response how to deal with,
DataSorce post I've tried, useless ah,
A drop-down box do? Search using DrawDataCell to rise a drop-down box method was useless, the incident didn't go in,

CodePudding user response:

Use ehlib, this fully automated,,,

CodePudding user response:

Is not recommended to fondling DBGrid, unless you like I want to know about such as DBGrid controls is how to write,
I personally back and forth on the DBGrid for more than three years,
Always wanted to add it after some code better point (I satisfaction point),
Finally, I harvest is,
Decided to give it up, oneself write a,

I hope you don't like me so bad, it is suggested that to find a good control with is directly,

CodePudding user response:

Choose a better database control, such as ehlib, his painting dbGrid you don't know a lot of function, and unstable

CodePudding user response:

Use ehlib good choice

CodePudding user response:

I still have not used the third party controls, has used the dbgrid, at most is to implant a tdbedit control to change things, anyway I write program is for your company, don't need too beautiful, make do with,

CodePudding user response:

This problem I also want to ask, oh, it seems no solution is solved the building Lord, please? To solve the share code
  • Related