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
15
Formatting of igSpreadsheet is messed u
posted

Hello,

we try to integrate the igSpreadsheet in a stylewise quiet complex angularjs (1.7) application, by wrapping it in its own directive. As you can see in the screenshot some ui elements are not correctly positioned and sized. E.g. the ui-igspreadsheet-tabitemarea and its childs are only 5px high.

When I move the div which will become the spread out of its directive and way up in the DOM, the elements get sized and positioned correctly.

Since, for what I concluded, all elements position and size get calculated inside the components script I am desperately seeking for ideas what might cause the messed up layout.

btw: Calling the igSpreadsheet constructor with fixed height and width values did not help.

Parents
No Data
Reply
  • 1300
    Offline posted

    Hello Sönke,

    A possible reason for the problem is if the styles affect the spreadsheet container during initialization.

    Regarding the second one, this is an igCombo and there is probably some styles (like margin-top) applied on the `.ui-icon` that are overridden by custom styles.

    Could you send me an isolated sample replicating the described behavior and if your application is too complex it would be also helpful if you could send me the custom styles that are used.

    Looking forward to hearing from you.

    Regards, Monika Kirkova, Infragistics

Children