- Home
- Forum
- Angular - EJ 2
- ScrollToResource not working if we have grouped resources
ScrollToResource not working if we have grouped resources
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
SIGN IN To post a reply.
2 Replies
1 reply marked as answer
NR
Nevitha Ravi
Syncfusion Team
November 24, 2020 01:48 PM UTC
Hi Mladen,
Greetings from Syncfusion Support.
We could reproduce the reported issue and confirm this as defect. We have logged the bug report for the issue which can be tracked form the following link. The issue fix will be included in our weekly patch release scheduled on December 8, 2020. We would appreciate your patience until then.
Regards,
Nevitha
BS
Balasubramanian Sattanathan
Syncfusion Team
December 21, 2020 11:59 AM UTC
Hi Mladen,
Thanks for your valuable patience.
We are glad to announce that our Essential Studio 2020 Volume 4 Release v18.4.0.30 is rolled out successfully. In this release, the reported defect ScrollToResource public method not working when resources are not in the order as provided in the resource collection has been resolved at our end. Kindly upgrade your packages to the latest version to avail of this fix.
Release notes: https://ej2.syncfusion.com/angular/documentation/release-notes/18.4.30/?type=all#schedule
Feedback: https://www.syncfusion.com/feedback/20012/scrolltoresource-public-method-not-working-properly
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Balasubramanian S
Marked as answer
SIGN IN To post a reply.
- 2 Replies
- 3 Participants
- Marked answer
-
MT Mladen Tasic
- Nov 24, 2020 01:38 AM UTC
- Dec 21, 2020 11:59 AM UTC