|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Another goofy datagrid issuePosted this in the WindowsForms.Controls forum and got zero reponses (maybe
they don't use the datagrid over there) .... If I create a datagrid column with Format set to "c", I've noticed that currency changes within the cell are not retained IN THE GRID upon leaving the cell. Anyone have a workaround? Earl,
> If I create a datagrid column with Format set to "c", I've noticed that What you think that it should do. Do you want to change the currency and it > currency changes within the cell are not retained IN THE GRID upon leaving > the cell. Anyone have a workaround? should automaticly recalculate the value in Euros to Zlottys. The format is a property which tells how a value should be *showed* accoording to the system globalization settings of that. Nothing more. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationnumberformatinfoclasstopic.asp Be aware that a cell in a datagrid will keep the typed in value as long as there is no rowchange. I hope this helps, Cor Thanks Cor. I believe it was a rowchange.
Show quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:Ol6$3zBHGHA.1088@tk2msftngp13.phx.gbl... > Earl, > >> If I create a datagrid column with Format set to "c", I've noticed that >> currency changes within the cell are not retained IN THE GRID upon >> leaving the cell. Anyone have a workaround? > What you think that it should do. Do you want to change the currency and > it should automaticly recalculate the value in Euros to Zlottys. The > format is a property which tells how a value should be *showed* accoording > to the system globalization settings of that. Nothing more. > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationnumberformatinfoclasstopic.asp > > Be aware that a cell in a datagrid will keep the typed in value as long as > there is no rowchange. > > I hope this helps, > > Cor > > |
|||||||||||||||||||||||