Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Data Grid › Filtering Row Custom Editors does not work
Tagged: Angular, Angular grid, column chooser, filter row, Filtering, grid, smart grid
- This topic has 3 replies, 2 voices, and was last updated 4 years, 11 months ago by
admin.
-
AuthorPosts
-
November 10, 2020 at 7:59 am #101136
LC
MemberHello,
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,
LCNovember 10, 2020 at 9:55 am #101138admin
KeymasterHello 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.comNovember 11, 2020 at 7:33 am #101139LC
MemberHi 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,
LCNovember 11, 2020 at 9:43 am #101142admin
KeymasterHi 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 -
AuthorPosts
- You must be logged in to reply to this topic.