Telegram_2020-02-25T10

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 02 > 25 >

Telegram_2020-02-25T10

Telegram link

 

2020-02-25T10:40:34

 

Jose it sounds stupid on my side but in Delphi DbGrid there is OndrawCell event and inside with the column name you may manipulate the value. However in IWDBGrid I have OnRenderCell that has ACell; how can I pickup the column of the dataset that I want to format to currency?

 


 

Telegram link

 

2020-02-25T10:53:07

 

off the top of my head, DBGrid.CurrentDataField - Check our demos Im quite sure there are DBGrid demos that show extending and formatting.

 


 

Telegram link

 

2020-02-25T10:53:24

 

you can also set formatting on the TField of your dataset and then you dont need to mess with it in code.

 


 

Telegram link

 

2020-02-25T10:56:52

 

Ok I shall try thanks