Jump to content


user22

Member Since 27 Oct 2006
Offline Last Active May 01 2021 01:46 PM
-----

Topics I've Started

two dbgrids with the same datasource

16 October 2015 - 04:40 PM

Hi,

 

just playing around with the new v6:

 

- two dbgrids v5 with the same datasource: you can scroll around in first or second grid, no problems

- one dbgrid v5 the other dbgrid v6, both with the same datasource: you can scroll only in dbgrid v6, trying to scroll in v5 immediately throws an exception

- two dbgrid v6 with the same datasource: trying to scroll, no matter in which grid, immediately throws an exception

 

 

by the way (i am using SQL-Server 2014):

if i connect to a table and do not define the columns, the displayed values are different formated:

- in v6 integers has always two digits behind comma, why?

- in v5 float has not digits behind comma when 0, in v6 it has always Digits behind comma (this is better i find)

​- in v5 tinyint with value 0 is shown as 0 leftaligned, in v6 it is shown as 0 but rightaligned (is better)

- in v5 and v6 tinyint with value NULL is shown as empty, smallint and int with value NULL are shown as empty in v5 but as 0.00 in v6

 

i think

- numeric values should always be right aligned by default

- integer values (from tinyint till up to bigint) should always be shown as xxx, not as xxx.yy

- values which are NULL should always be empty (because this is not the same like 0!)

 

... but as long as this can be overwritten it's no major problem :-)

 


OnCellFormating not working

11 October 2015 - 10:21 PM

Hi Boki,

 

when OnCellFormating is used, working with the grid becomes impossible because cell coloring goes completely wrong (see example.png)

Attached is a little example with source (using VirtualTable component from Devart). Done with Delphi XE and NextDbGrid 5.9.60

 

Tried to use NextSuite v6 but there is no version for Delphi XE ... :(

 

best regards

 


Where is V6 for Delphi XE?

11 October 2015 - 06:46 PM

Hi Boki,

 

will there be a version for XE?

 

thanks