Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter/find resource on Resources tab not working with "last name" #6909

Closed
marciogurka opened this issue Jun 1, 2023 · 1 comment
Closed
Labels
enhancement Functionality improvement forum Issues from forum OEM OEM customer premium

Comments

@marciogurka
Copy link

Forum post

"Hi Bryntum,

I'm using Gantt 5.3.0 at the moment. My resources have a first name and a last name. On the Resources tab, when adding a record, the resources are displayed correctly but filtering/finding by typing in the combobox seems to work as a "starting with". E.g. if I have a resource Celia Green, typing "green", "elia" or something similar is not showing that resource. Only when you start typing beginning with "c", it will find Celia.

This is reproducible in the Resource Utilization demo.

Is it possible to change this to a "contains" filtering?"

Schermafbeelding 2023-05-30 160225.png

@marciogurka marciogurka added premium forum Issues from forum OEM OEM customer enhancement Functionality improvement labels Jun 1, 2023
@marciogurka
Copy link
Author

You can achieve such behavior using the configuration of filterOperatorhttps://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-filterOperator

features : {
        taskEdit : {
            items : {
                resourcesTab : {
                    items : {
                        grid : {
                            columns : {
                                data : {
                                    resource : {
                                        editor : {
                                            filterOperator : '*'
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Functionality improvement forum Issues from forum OEM OEM customer premium
Projects
None yet
Development

No branches or pull requests

1 participant