Issues with Data Loading in Syncfusion Angular Schedule Using ODataV4Adaptor

Hello everyone,

In one of the projects I'm developing, I'd like to use your Schedule component. I'm using it in combination with ODataV4Adaptor and it seems that either I've done something wrong or there's an issue with the component. Specifically, I'm concerned about how the data is loaded into the control. The initial request sent by the component is:

https://localhost:7116/odata/Schedules/?StartDate=2023-08-27T22:00:00.000Z&EndDate=2023-10-01T22:00:00.000Z

This is not a proper OData filter. As a result, I always get the complete set of data. For obvious reasons, I'd like to avoid this. I'm using the latest version currently available.


3 Replies

VS Venkateshwaran Saravanakumar Syncfusion Team September 11, 2023 03:06 PM UTC

Hi Krzysztof,

UG: https://ej2.syncfusion.com/angular/documentation/schedule/data-binding#filter-events-using-the-in-built-query

We suspect that you're suggesting that passing the complete set of data to ODataV4Adaptor is not a proper filter. Therefore, we recommend using the 'includeFiltersInQuery' property of the scheduler, which reduces the amount of data transferred to the client side. Refer to the shared UG for more details.


Regards,
Venkatesh



KW Krzysztof Wolski September 12, 2023 05:25 AM UTC

Hi  Venkatesh,

I apologize, especially since the answer was just one paragraph away. I can only add that you've gotten me used to it just working without any additional parameters ;). Thank you for the help.




SK Satheesh Kumar Balasubramanian Syncfusion Team September 13, 2023 11:55 AM UTC

Hi Krzysztof,

Thanks for the update.

We are happy that your problem has been resolved now.

Regards,

Satheesh Kumar B


Loader.
Up arrow icon