5 Replies Latest reply: Nov 2, 2017 11:04 AM by omar bensalem RSS

    How to capture the event of "zoom chart"

    omar bensalem

      Hi Guys,

       

      I've developed an extension that contains a table; I want my table to have a vertical scroll bar ; for that, I use this css code:

      height: 200px;

      overflow-y: auto;

       

      For now, It's all good:

      Capture.PNG

       

      But now, if I zoom my chart (extension):

      Capture.PNG

       

      result:

      Capture.PNG

       

       

      But when zoomed, I don't want the scroll to appear after 200px; but rather after 400 px or so.

      The question is; how to capture the "zoom" event? To do my condition on it?

       

      If you know another way to add the scroll bar without specifying the height on px? like the by default Sense tables? I'll be all ears !

      Thanks