Hi,
I would like to show an UltraWinGrid contents which are not editable, as a tooltip to another UltraWinGrid[called as "Parent Grid"] cell mouse hover. Also the tooltip should be inside the Parent Grid's boundary. Is there any way to implement this? Or is there any way to acheive tooltip looks like Grid structure? Please help me.
Thanks & Regards,
Sabeer
Hi Sabeer,
There's no way to directly place a WinGrid into a tooltip. But you might be able to fake it.
What you could do is create a second WinGrid and set it up with data and initialize it to how you want it to look. Then, you could use the DrawToBitmap method (which is a method on Control and so therefore exist on the grid) to draw the grid into a Bitmap. Then you could use UltraToolTipManager to display a tooltip with the image of the grid.
HI Mike,
Thanks for your answer.
I forgot to mention, the Second Grid is a dynamic one. The second grid will be based on the cell. If you mouseover a cell the content of the second grid will be generated and will be shown as a tooltip. Can we achieve this the way which you suggest here?
Thanks,