HTML Elements Forums Data Grid Filtering Row Custom Editors does not work

This topic contains 3 replies, has 2 voices, and was last updated by Avatar Dimitar 7 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #101136
    Avatar
    LC
    Participant

    Hello,

    Recently I have encountered some problems when using the function of Filter, The questions are as follows:

    I use the following links to sample code: https://www.htmlelements.com/angular/demos/grid/filtering-row-custom-editor/

    I create an empty project and copy the code through, but I find that the Filtering line never shows. Other than that, all other functions are normal.

    I installed through “npm i smart-webcomponent-angular”, which I did not see the same situation in the other feature examples.

    Do you know the reasonand how to solve it?

    Thank you very much and look forward to your reply.

    BR,

    LC

    #101138
    Avatar
    Dimitar
    Participant

    Hello LC,

    Thank you for your feedback. There was a syntax error in the online example, in app.component.ts:

    filtering: {

    has to be:

    filtering = {

    We will rectify this mistake as soon as possible.

    Best regards,
    Dimitar

    Smart HTML Elements Team
    https://www.htmlelements.com

    #101139
    Avatar
    LC
    Participant

    Hi Dimitar,

    First of all, thank you very much. It worked according to your reply. After successfully creating the filter, I tried to build on that and add some interesting features. But then a new problem arose, the problem occurred when I tried to use the ability to hide columns in grid with filters.

    When I hide a column from display in this case, the corresponding filter below the column can not be hidden with the column. Therefore, the filtering of the whole grid is misaligned.
    I don’t know if I’ve described it clearly enough.
    I looked at the manual and felt that the filter and its properties were specific to the entire grid, but I didn’t seem to find any hidden/show properties that would control the corresponding filters below the individual columns.
    How to solve this problem? Looking forward to your early reply. Thank you very much.

    Best regards,

    LC

    #101142
    Avatar
    Dimitar
    Participant

    Hi LC,

    Thank you for your feedback. We were able to reproduce this issue and will try to fix this issue as soon as possible.

    Best regards,
    Dimitar

    Smart HTML Elements Team
    https://www.htmlelements.com

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

You must be logged in to reply to this topic.