Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
How to show an UltraWinGrid as a tooltip to another UltrawinGrid cell?
posted

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

Parents
  • 469350
    Offline posted

    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.

Reply Children