InfiniteScrolling with observable

Hello,

I would like to use the new InfiniteScrolling functionality in the TreeGrid. That's why I used the latest version (19.1.59) for the TreeGrid. However, I now have a problem with the observable datasource with the result and count properties. Unfortunately, this is no longer possible with the TreeGrid.
The documentation page says that this is still possible if pageSizeMode is set to 'Root' and Self Referential data binding is used.
Can you give an example where InfiniteScrolling still works with the DataResult Observable ?

With best regards
Ahmad Al Edlbi

2 Replies 1 reply marked as answer

AA Ahmad Al Edlbi May 12, 2021 09:35 AM UTC

I was able to fix the problem by setting the hasChildMapping attribute for the TreeGrid to 'isParent'. However, according to the documentation, this is not necessary. An update of the documentation would be helpful.

Thanks in advance.

With best regards

Marked as answer

PK Padmavathy Kamalanathan Syncfusion Team May 13, 2021 01:42 PM UTC

Hi Ahmad, 
 
Thanks for contacting Syncfusion Forums. 
 
Query: I was able to fix the problem by setting the hasChildMapping attribute for the TreeGrid to 'isParent'. However, according to the documentation, this is not necessary 
 
In Tree Grid, we need to define “hasChildMapping” property for using Remote Data Binding properly. Custom Data Binding is like Remote Data Binding and so we need to bind this property for proper working of Custom Data Binding. We will mention the same in our UG Documentation and refresh it soon.  
 
Kindly get back to us for further assistance. 
 
Regards, 
Padmavathy Kamalanathan 


Loader.
Up arrow icon