rtalmeida Posted April 14, 2017 Share Posted April 14, 2017 How can I do to format numeric fields in unidbgrid? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 14, 2017 Share Posted April 14, 2017 Hi, You can use TField -> DisplayFormat property Best regards. Quote Link to comment Share on other sites More sharing options...
rtalmeida Posted April 14, 2017 Author Share Posted April 14, 2017 Is it the only way? Quote Link to comment Share on other sites More sharing options...
itognet Posted April 16, 2017 Share Posted April 16, 2017 UniDBGrid1 OnColumnFilter if Column.Index = 1 then Column.Field.NewValue := format('Number = %n', [Column.Field.Value]); Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted May 20, 2017 Share Posted May 20, 2017 As DD mentioned it : On your DataSet property : DisplayFormat : #,#0.00 Regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.