In wijmo Flexsheet sometimes one of the column is not showing

Posted by: teenu.k on 19 March 2021, 7:30 am EST

  • Posted 19 March 2021, 7:30 am EST

    Hi,

    I have wijmo flexsheet. I am using Angular 6 for UI. The following code is present in my Html.

    <wj-flex-sheet #flex (dblclick)=“onClick($event)” (initialized)=“flexInitialized(flex)”>

    <wj-sheet [name]=“‘Data’” [itemsSource]=“reportData”>

    When total record is 2000 and one of my columns suppose address column contains 1900 and more null values .only 100 rows contain address value. In that case flexsheet not showing the column in UI.

    I think there is a default feature like when all the values are null that column should not be visible. but in my case some of the records have values.

    I just changed all the null values into some string value then it is visible.

    how to resolve this issue?

  • Posted 22 March 2021, 8:58 am EST

    Hi,

    We are sorry but we are unable to replicate the issue at our end. The grid creates the columns on the basis of the data present in the binding. If there is no data present or all values of binding is null, then the grid cannot infer the dataType and it will not create a column for null values. But in this case, data is present in some rows as you said so the cause of the problem might be different.

    Could you please share a sample replicating the issue so that we could further investigate it. You may also update the following sample that we used for testing purpose:

    https://codesandbox.io/s/gracious-water-ntczi?file=/src/main.ts

    Also please share the exact wijmo version you are using so that we may test using the same version too.

    Regards

Need extra support?

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

Learn More

Forum Channels