jQuery UI Widgets Forums Angular Component Load changes TreeGrid Style

This topic contains 2 replies, has 2 voices, and was last updated by  mattooren 7 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Component Load changes TreeGrid Style #90359

    mattooren
    Participant

    Hi all,

    I want to load a certain component based on a certain element being selected in a treegrid.
    However, when I load the component the style of my treegrid changes.

    To illustrate:

    TreeGrid before click:
    TreeGrid before click

    TreeGrid after click:
    TreeGrid afterclick

    CSS:

    CSS Before Click:
    CSS before click

    CSS After Click:
    CSS afterclick

    I use the following code to load the components:
    <projectDetailsComponent *ngIf=”loadComponentBoolean” (onReloadTree)=”onReloadTree()” [projectID]=”selectedID”></projectDetailsComponent>

    Does anyone know how I prevent the CSS from changing?

    Thanks in advance!

    • This topic was modified 7 years, 3 months ago by  mattooren.
    • This topic was modified 7 years, 3 months ago by  mattooren.
    Component Load changes TreeGrid Style #90414

    Peter Stoev
    Keymaster

    Hi mattooren,

    Selection style is applied when you select something in the TreeGrid. You can edit the CSS theme which you use if you wish a different behavior.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Component Load changes TreeGrid Style #90566

    mattooren
    Participant

    Thanks,

    That should explain it!

    Kind regards,
    Matthijs

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.