Right now our application has two pages, ProjectHome and ProjectInfo.
ProjectHome provides a list of all the Projects in the database. ProjectInfo provides information specific to the selected Project.
Each Project has several types of data connected to it, each provided through a DataSource, and displayed in a Grid.
I am working on a Filter panel on the ProjectHome page that will allow a user to filter through the list of Projects by targeting specific fields and searching for specific values. So far, this has proven "easy" (lots of manual filter management code required, but not difficult to construct) for flat fields like "Title" and "Size". It is not so simple, however, for complex data connected to the Projects themselves, such as "Team Members". On the ProjectInfo page for a given Project, the Team Members DataSource contains several fields: "Last Name", "First Name", and "Role". Each Project may have multiple Team Members attached to it.
I need to be able to filter through Projects from the ProjectHome page by passing values through the KendoUI DataSource filter() method, which works fine for flat fields, as I said, but does not appear to work for nested data. As a result, I find myself unable to filter Projects by Team Member on the ProjectHome page, because if I provide the ProjectList DataSource with the contents of the TeamMember DataSource within a single column, it creates a complex nested data structure. I can flatten this out to some kind of comma-separated list using the parse() method on the ProjectList DataSource, but then filtering becomes overly complex for the TeamMember field (since it contains three subfields).
Is there any supported way which would allow me to filter through the ProjectList DataSource while looking through the nested data of the Projects' TeamMember DataSource(s)?
ProjectHome provides a list of all the Projects in the database. ProjectInfo provides information specific to the selected Project.
Each Project has several types of data connected to it, each provided through a DataSource, and displayed in a Grid.
I am working on a Filter panel on the ProjectHome page that will allow a user to filter through the list of Projects by targeting specific fields and searching for specific values. So far, this has proven "easy" (lots of manual filter management code required, but not difficult to construct) for flat fields like "Title" and "Size". It is not so simple, however, for complex data connected to the Projects themselves, such as "Team Members". On the ProjectInfo page for a given Project, the Team Members DataSource contains several fields: "Last Name", "First Name", and "Role". Each Project may have multiple Team Members attached to it.
I need to be able to filter through Projects from the ProjectHome page by passing values through the KendoUI DataSource filter() method, which works fine for flat fields, as I said, but does not appear to work for nested data. As a result, I find myself unable to filter Projects by Team Member on the ProjectHome page, because if I provide the ProjectList DataSource with the contents of the TeamMember DataSource within a single column, it creates a complex nested data structure. I can flatten this out to some kind of comma-separated list using the parse() method on the ProjectList DataSource, but then filtering becomes overly complex for the TeamMember field (since it contains three subfields).
Is there any supported way which would allow me to filter through the ProjectList DataSource while looking through the nested data of the Projects' TeamMember DataSource(s)?