cssClass column property not working post upgrading to Wijmo 5.20183.568

Posted by: syadagiri on 27 March 2019, 2:22 pm EST

    • Post Options:
    • Link

    Posted 27 March 2019, 2:22 pm EST

    Hello,

    We have recently upgraded wijmo to our latest and observed below issue.

    • "```

      cssClass
    
          [i]Upon analysis have figured this is related to ```
    [childItemsPath] 
    ``` property, once I remove the ```
    [childItemsPath]
    ``` ```
    cssClass 
    ``` is applied and respective styles are displayed. Attached Stackblitz reproduces this issue. Please let us know our next steps.[/i]
    
    https://stackblitz.com/edit/angular-geutj5
  • Posted 28 March 2019, 8:45 am EST

    Hi,

    We are able to replicate the issue at our end and hence we have forwarded it to the concerned team for further investigation of the issue(Internal tracking Id #372776). We will let you know regarding any updates on the issue, till then you may handle the formatItem event and fix the issue at your end by adding the required class on the cell. Please refer to the following code snippet and the updated sample:

    grid.formatItem.addHandler((s,e)=>{
          if(s.cells != e.panel){
            return;
          }
          // apply css Class
          let col = e.panel.columns[e.col];
          if(col.cssClass){
            wjcCore.addClass(e.cell, col.cssClass);
          }
        });
    

    https://stackblitz.com/edit/angular-lv5fnw?file=src%2Fapp%2Fapp.component.ts

    ~Sharad

  • Posted 17 September 2019, 6:47 am EST

    Is this resolved in version 5.20192.624??

  • Posted 18 September 2019, 4:14 am EST

    Hi,

    The issue is fixed in the latest version 5.20192.624. Please update to the latest version and let us know if you face any issues.

    Regards

    Sharad

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels