View Issue Details

IDProjectCategoryView StatusLast Update
0003860JEDI VCL00 JVCL Componentspublic2006-09-07 00:52
ReporterZENsanAssigned Toobones 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.20 
Target VersionFixed in Version 
Summary0003860: OnDrawDataCell is not callin in TJvDBGrid if columns are defined for dataset.
DescriptionSimple situation: JvDBGrid, DataSource - columns in DBGrid not defined and are automatically displayed - in this case enets fires normally. If I press add all columns in column editor for grid, then OnDrawDataCell event don't fires at all (never!).
TagsNo tags attached.

Activities

obones

2006-08-30 07:52

administrator   ~0010049

Please provide the zipped sources of a sample application showing this.

ZENsan

2006-08-31 02:23

reporter   ~0010052

Here you are..

2006-08-31 02:24

 

OnDrawDataCell.zip (19,367 bytes)

ZENsan

2006-08-31 02:25

reporter   ~0010053

Sorry, I added "rar" file and forgot to exclude exe file from it. You can delete it.

ZENsan

2006-09-05 08:56

reporter   ~0010064

DBGrid's DrawDataCell virtual method and OnDrawDataCell event are only called when the grid's Columns.State is csDefault. This is for compatibility with existing code.
So I understand, that is not your bug. but maybe you can realize this function in another way...I think it will be not so hard to done this.

ZENsan

2006-09-05 09:12

reporter   ~0010065

Thanks for OnDrawColumnCell event...This is that realization. Sorry for report.

obones

2006-09-06 01:56

administrator   ~0010071

So this can be closed ?

ZENsan

2006-09-06 09:44

reporter   ~0010073

Yes, of course!

MD5(LowerCase(onones email))=3F1A9E3608BD0734604375CAB419E86C
Some errors was shown about error sending mail to obones@..

Issue History

Date Modified Username Field Change
2006-08-16 04:47 ZENsan New Issue
2006-08-30 07:52 obones Note Added: 0010049
2006-08-30 07:52 obones Status new => feedback
2006-08-31 02:22 ZENsan File Added: OnDrawDataCell.rar
2006-08-31 02:23 ZENsan Note Added: 0010052
2006-08-31 02:24 ZENsan File Added: OnDrawDataCell.zip
2006-08-31 02:25 ZENsan Note Added: 0010053
2006-08-31 03:50 obones File Deleted: OnDrawDataCell.rar
2006-09-05 08:56 ZENsan Note Added: 0010064
2006-09-05 09:12 ZENsan Note Added: 0010065
2006-09-06 01:56 obones Note Added: 0010071
2006-09-06 09:44 ZENsan Note Added: 0010073
2006-09-07 00:52 obones Status feedback => resolved
2006-09-07 00:52 obones Resolution open => no change required
2006-09-07 00:52 obones Assigned To => obones