Enlarge Picture on a col

Hello. Currently I am using a ggc with a picture col.
I want to make it so that if I hold the mouse cursor over the picture of one of the rows, the picture is enlarged... then when I move the mouse away it shrinks back into the first size.

Is this possible with gridgroupingcomtrol? If so can somebody point me on the right track, or tell me what approach i need to take?


1 Reply

NA Nisha Arockiya A Syncfusion Team August 5, 2008 09:39 AM UTC

Hi Reza,

Thanks for your interest in Syncfusion products.

I could able to see the issue of Enlarge picture on a column that you have mentioned here.
You can solve this by adding gridGroupingControl1_TableControlCellMouseHoverLeave and
gridGroupingControl1_TableControlCellMouseHoverEnter events.
In that trigger PrepareViewStyleInfo event and check for CellType using
e.Style.CellType.ToString() == "Image".
Then use

e.Style.ImageSizeMode = GridImageSizeMode.Normal;
and
e.Style.ImageSizeMode = GridImageSizeMode.StretchImage;

Please let me know whether this satisfies your need.

Regards,
Nisha.

>Hello. Currently I am using a ggc with a picture col.
I want to make it so that if I hold the mouse cursor over the picture of one of the rows, the picture is enlarged... then when I move the mouse away it shrinks back into the first size.

Is this possible with gridgroupingcomtrol? If so can somebody point me on the right track, or tell me what approach i need to take?




Loader.
Up arrow icon