Hi Boki,
I'm guessing as I have not heard back from you yet that I've still done a bad job of explaining the problem so I'm including some screenshots.
So if I put in the time as midnight (00:00:00) when the setting TNxTimeColumn(Col).HideWhenEmpty := true; is used...
and then press enter, you can see that the time is not displayed because the code grid does not recognise midnight as a valid time.
I've also tried setting TNxTimeColumn(Col).HideWhenEmpty := false;. However, on start up the following is visible.
This is because there is a row present at the start of grid. Then because of the workings of the grid, inserting a field creates a new row below and fills in the default parameters of the current row as shown below.
Since a new row is created with no data a default time of 00:00:00 is displayed which does not look very good. So essentially what I'm asking for is a fix so that 00:00:00 is recognised as a valid time when TNxTimeColumn(Col).HideWhenEmpty := true; That way it will still be visable to the user.
Many Thanks
LagOut
Member Since 24 Aug 2012Offline Last Active Feb 04 2013 12:45 PM