I'm experiencing a few issues working with TreeGroup feature in Scheduler Pro.
I've included a simplified example of a dataset below (Ref #1).
In this context, I'm intending to group by "["ParentName", "ResourceType"]". I'd rather not see the parent in the as a child/sub-node to the grouped item.
Issues:
Parent is included as a child/sub-node to the grouped item. This occurs in the following contexts:
a. Parent record has no children.
b. Grouping property on Parent record is:
i. Undefined or Null. Result: The parent record is included under a blank-titled group. (Ref: #2)
ii. A Blank String. Result: Error: "Uncaught (in promise) Error: Id collision on generated_A_Test_Resource_". (Ref: #3)Unable to Sort Groups.
a. There doesn't seem to be a way to default-sort groups or sub-groups when using TreeGroup.Grouping Issue when using a default filter value.
a. When a default filter value is applied to resources (using a combo in my case); only the initially presented resources are grouped.
b. Once the filter is removed, the other resources are shown, without a specified grouping applied.
Ref #1:
[
{
"Name": "First Parent Resource",
"ParentName": "First Parent Resource",
"ResourceType": "Parent",
"Children": [
{
"Name": "Child Resource 1",
"ParentName": "First Parent Resource",
"ResourceType": "Square"
},
{
"Name": "Child Resource 2",
"ParentName": "First Parent Resource",
"ResourceType": "Circle"
}
]
},
{
"Name": "The Second Parent Resource",
"ParentName": "The Second Parent Resource",
"ResourceType": "Parent",
"Children": [
{
"Name": "Child Resource 4",
"ParentName": "The Second Parent Resource",
"ResourceType": "Circle"
}
]
},
{
"Name": "Third Parent Resource",
"ParentName": "Third Parent Resource",
"ResourceType": "Parent"
}
]
Ref #2:
Ref #3: