Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #102739
    Latvels
    Participant
    Good day!
    How to set up a filter to search by a template, and not by an initial value, since the initial value is id, and the template shows name.
    Example: https://www.htmlelements.com/demos/gantt/task-filtering/
    field
    Priority when filterRow = true.
    You will have a search by value only. when entering text, nothing will be returned. see screenshots.
    https://ibb.co/2kfsXT3
    https://ibb.co/DK2FRfR
    
    
    PS. if anything i do on vue 3
    • This topic was modified 2 years, 3 months ago by Latvels.
    • This topic was modified 2 years, 3 months ago by Latvels.
    #102747
    ivanpeevski
    Participant

    Hi Latvels,

    Unfortunately, filtering by template is not currently supported by the Gantt component.

    In your case, I would suggest modifying the data according to your template before setting it as dataSource of the Gantt component.

    Best regards,
    Ivan Peevski
    Smart UI Team
    https://www.htmlelements.com/

    #102787
    Latvels
    Participant

    @ivanpeevski
    Thanks for the answer.
    And I can make my own filter. For example, my data is {id: 1, name: Nik}, and instead of the search string, add a selector or another list where the user
    can select a readable Nik, and the search will be performed by id?

    For example, the same structure is transferred from me as resources and it looks for everything correctly by resources.
    https://ibb.co/1dLQnwH
    I apparently found in your example what I need, tell me how to implement such a drop-down list, but in the tasks section,
    not resources?
    https://ibb.co/YbLTWsy

     

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.