View Issue Details

IDProjectCategoryView StatusLast Update
0003568JEDI VCL00 JVCL Componentspublic2006-06-27 07:01
ReporterZENsanAssigned Toobones 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.10 
Target VersionFixed in Version3.30 
Summary0003568: Use "gettext" feature to JvDBGrid***Export components...
DescriptionIf Table/Query field uses OnGetText event and the values in DBGrid are displayed in some other format, Export ignores this - it's ok, verry good. But sometimes it is verry comfort to export what you see, but not 1 or 0 in place of Yes, No.
TagsNo tags attached.

Activities

marcgeldon

2006-03-31 05:06

reporter   ~0008783

Maybe it's possible to add a property to the export component. And if this property (for example we call it "UseOnGetText" is "true", then we use the result from "OnGetText".

Was it just a feature idea from you or do you have the time to create a first possible version?

ZENsan

2006-04-02 03:26

reporter   ~0008812

This is feature idea, but I also can create first possible version...
But if I do, then where must I send source files?

obones

2006-04-13 02:49

administrator   ~0009082

Put the source files here, as a zip file.
Ideally, a diff file is the best (diff -u 3)

ZENsan

2006-04-20 08:52

reporter   ~0009153

Here you are. I modified source a little bit. Now it checks if exists OnGettext handler for Field, then calls it and gets value for export. All Word, Excel, HTML,CSV and XML components updated.

Zigmund Bulinsh

ZENsan

2006-04-20 09:07

reporter   ~0009154

Here is a more recent version...I added property UseFieldGetText for customizing export (when use and when do not use OnGetText event)

jfudickar

2006-04-20 09:28

developer   ~0009155

Can't see any files ?

2006-04-21 12:11

 

JvDBGridExport.pas (38,003 bytes)

ZENsan

2006-04-21 12:12

reporter   ~0009169

Something was wrong and my file was not uploaded. Now I see it. Hope you too.

ZENsan

2006-05-24 05:28

reporter   ~0009347

So what happened? Why no comments? Why new feature not added jet?

AHUser

2006-05-27 07:09

developer   ~0009356

> So what happened? Why no comments?
> Why new feature not added jet?

Because we are not fulltime JVCL developers.

obones

2006-06-27 07:01

administrator   ~0009682

This is now in SVN. Next time, PLEASE respect the style guide, and DO NOT copy and paste the same function everytime. Was it that hard to create a GetFieldValue function in the ancestor?

Issue History

Date Modified Username Field Change
2006-03-09 02:16 ZENsan New Issue
2006-03-31 05:06 marcgeldon Note Added: 0008783
2006-04-02 03:26 ZENsan Note Added: 0008812
2006-04-13 02:49 obones Note Added: 0009082
2006-04-13 02:49 obones Status new => feedback
2006-04-20 08:52 ZENsan Note Added: 0009153
2006-04-20 09:07 ZENsan Note Added: 0009154
2006-04-20 09:28 jfudickar Note Added: 0009155
2006-04-21 12:11 ZENsan File Added: JvDBGridExport.pas
2006-04-21 12:12 ZENsan Note Added: 0009169
2006-05-24 05:28 ZENsan Note Added: 0009347
2006-05-27 07:09 AHUser Note Added: 0009356
2006-06-27 07:01 obones Status feedback => resolved
2006-06-27 07:01 obones Fixed in Version => Daily / SVN
2006-06-27 07:01 obones Resolution open => fixed
2006-06-27 07:01 obones Assigned To => obones
2006-06-27 07:01 obones Note Added: 0009682