Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread TGrid Questions
Mon, May 6 2013 7:28 AMPermanent Link

Christian Kaufmann

I have some questions for TGrid:

* I would like to see the current row selected even when the grid
doesn't have focus (Modern Theme). How can I do that?

* I have a DateTime column, but in the grid I would like to show the
Date only. Is this possible?

* I would like to show an icon/image in a grid column, depending on a
column in the dataset. Can I do that?

cu Christian
Tue, May 7 2013 4:36 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Christian,

<< * I would like to see the current row selected even when the grid doesn't
have focus (Modern Theme). How can I do that?  >>

Enable this property:

http://www.elevatesoft.com/manual?action=viewprop&id=ewb1&comp=TGrid&prop=AlwaysShowSelection

<< * I have a DateTime column, but in the grid I would like to show the Date
only. Is this possible? >>

Yes, but you have to use these events to format the values as they move
in/out of the column:

http://www.elevatesoft.com/manual?action=viewevent&id=ewb1&comp=TDataColumn&event=OnGetText
http://www.elevatesoft.com/manual?action=viewevent&id=ewb1&comp=TDataColumn&event=OnSetText

<< * I would like to show an icon/image in a grid column, depending on a
column in the dataset. Can I do that? >>

No, not at this time.

Tim Young
Elevate Software
www.elevatesoft.com
Image