Two nested resources , scrollToResource insn't working because the resources are grouped by first one (im trying to scroll to second one) . Is that possible ?
It's actually scroll , but like they are not grouped
For example , if we have array of employee [e1(group1),e2(group2),e3(group1),e4(group2) .... e10(group3)] , they are shown on scheduler like
[e1,e3,e2,e4 ... e10] and if we want to scroll to e2 (group2) for example - it scrolls to 2nd position of original array - not looking its position in grouped array (3rd position).
<e-resources>
<e-resource field='productCategoryID' title='Employee Types' name='Types'
[dataSource]='employeeTypeDataSourceFiltered' [allowMultiple]='allowMultiple' textField='Name'
idField='Id'>
e-resource>
<e-resource field='companyEmployeeID' title='Employee' name='Employees'
[dataSource]='employeeDataSourceFiltered' [allowMultiple]='allowMultiple' textField='Name'
idField='Id' groupIDField="GroupId" colorField='Color'>e-resource>
e-resources>
//.ts file
this.scheduleObj.scrollToResource(this.focus_employee, "Employees");
Image of grouped resources
how scroll to resource is retrieving position ot scrooll