fralx / LimeReport

Report generator for Qt Framework
http://limereport.ru/
Other
403 stars 154 forks source link

Need explanation #287

Closed yanis60 closed 4 years ago

yanis60 commented 4 years ago

Hi, I noticed a property 'format' for textitem, could you please explain me what formats to use? image

fralx commented 4 years ago

Hi! The "format" property is used to format the field if the "valueType" is different than Default. For example format = dd.mm.yyyy and valueType = DateTime

yanis60 commented 4 years ago

Can i format numbers?

fralx commented 4 years ago

Yes

yanis60 commented 4 years ago

can you please show me how with an example?

fralx commented 4 years ago

valueType = Double, format = $ %.2f QString::sprintf is used under the hood

yanis60 commented 4 years ago

ok thank you