Sherzod Posted May 23, 2013 Share Posted May 23, 2013 Hi Farshad.What is DefaultFloatFormat in UniDBGrid WebOptions and how to use?Thanks... Link to comment Share on other sites More sharing options...
Almodovar Posted October 14, 2014 Share Posted October 14, 2014 I've got the same question, anybody can reply our dude? Pleaseeeeee Link to comment Share on other sites More sharing options...
Airton224 Posted January 13, 2016 Share Posted January 13, 2016 Estou com o mesmo problema minha aplicação esta em um servidor americano, mas necessito mostrar o valor formatado para o Brasil, sem ter que ajustar a maquina Link to comment Share on other sites More sharing options...
jahlxx Posted February 7, 2017 Share Posted February 7, 2017 Hi. I'm trying to use DefaultFloatFormat but nothing changes when display data in the grid. I have dynamic columns, not columns created in design time. Could be this the reason? Thanks. Link to comment Share on other sites More sharing options...
mhmda Posted February 7, 2017 Share Posted February 7, 2017 Use field "DisplayFormat" Link to comment Share on other sites More sharing options...
jahlxx Posted February 8, 2017 Share Posted February 8, 2017 ok. How? In vcl apps I do this in teh ondrawdatacell event of the grid, but with unigui, I don't knw how todo. Any sample, please? Thanks. Link to comment Share on other sites More sharing options...
jahlxx Posted April 18, 2017 Share Posted April 18, 2017 Hi. I'm still with this problem. Ani idea? Thanks. Link to comment Share on other sites More sharing options...
mhmda Posted April 19, 2017 Share Posted April 19, 2017 What about filed->ongettext Link to comment Share on other sites More sharing options...
jahlxx Posted April 19, 2017 Share Posted April 19, 2017 Not valid for me. I don't use TFields. The fields are located in the grid automatically. Link to comment Share on other sites More sharing options...
jahlxx Posted May 5, 2017 Share Posted May 5, 2017 Hi. I'm trying this, as I do in vcl apps, with no success. In the on draw column cell of the grid: if column.field.DataType = ftfloat then TFloatField(column.field).DisplayFormat := ',0.0000'; The only difference, is that in vcl, I put this code in the grid drawdatacell event. some help with this? thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now