Completed
Last Updated: 03 Jan 2019 11:36 by ADMIN
Chris
Created on: 21 Nov 2018 14:10
Category: Kendo UI for Angular
Type: Feature Request
2
Angular 7 Kendo Grid in a component using a Service component that uses the Progress JSDO for CRUD operations

I requested help in the Forum for an example of using JSDO in a Service under Angular for my grid.component.ts

https://www.telerik.com/forums/angular-7-kendo-grid-using-jsdo-service-component

 

Svetlin stated thet "Indeed, currently we do not have an example dedicated on the use of CRUD operations with JSDO. If you have the time, please submit a new feature request in our UserVoice portal, which will help us to evaluate the demand for such example and implement it in the future. "

 

Please look into building some sample source for an Angular / JSDO Service component.

Thanks

7 comments
ADMIN
Dimiter Topalov
Posted on: 03 Jan 2019 11:36
Hello,

The sample application, featuring a Grid with CRUD and server-side data operations, is ready. The corresponding documentation article and GitHub repo will be publicly available soon.

Meanwhile, you can download the attached archive, and run and inspect the application.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Attached Files:
Christian
Posted on: 18 Dec 2018 10:49
I have created an example GITHub project at - https://github.com/chunnybryan/JSDOKendoGridAngular6/wiki

This uses the datasource as described at - https://documentation.progress.com/output/pdo/#page/pdo%2Fusing-the-progress-data-source-for-nativescript.html

This example seems to handle the sorting and filtering better and also shows how you can connect to a basic auth PAS.

I have made the JSDO bit an injectable service so it can be re-used.

The next steps would be to create extended directives for the <kendo-grid so you can pass in your BE and table name etc. to make that more re-usable.
Christian
Posted on: 13 Dec 2018 09:04

Hi 

I am looking for a similar example as well.

Ideally detailing using the JSDO as an injectible service and linking this service with angular components that use Kendo Angular components to consume this service.

Thanks

Christian.

ADMIN
Dimiter Topalov
Posted on: 05 Dec 2018 08:03
Hi Chris,

Thank you for the additional suggestion. We will either include consuming a multi table dataset in the original sample application, or create a new feature request for creating a separate sample application that will target this use case explicitly, depending on the application architecture and the conceptual documentation article that we assess to be most useful and will likely have greatest impact.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Chris
Posted on: 28 Nov 2018 14:38

Dimiter Topalov

Please also consider the multi table dataset. Some of our endpoints consume and return a multi table dataset.

ADMIN
Dimiter Topalov
Posted on: 28 Nov 2018 06:04
Hi Chris,

Thank you for submitting this feature request. We will create a sample application and documentation article, demonstrating a possible approach for connecting a Kendo UI for Angular Grid to Progress JSDO. I changed the status of this feature request to "Approved" and you can track it for further changes - we will update the status accordingly when we plan and start development, and when the task is completed.

Meanwhile I can suggest checking out the following resources that might point you in the right direction:

https://community.progress.com/community_groups/datadirect_connect/f/16/t/35606

https://community.progress.com/community_groups/mobile/m/documents/3124

Typically, the Grid needs an endpoint for reading data from the server, and several others that can handle create, delete and update. The Angular service needs to expose methods that can be called from the component the Grid is in when the respective event (edit, save, remove...) occurs. Samples demonstrating this workflow are available in the Grid Editing section of our documentation:

https://www.telerik.com/kendo-angular-ui/components/grid/editing/editing-reactive-forms/

https://www.telerik.com/kendo-angular-ui/components/grid/editing/editing-template-forms/

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Chris
Posted on: 21 Nov 2018 14:20
Attached is an example of my current request - I just dont know if its the correct way to do an Angular / JSDO Service
Attached Files: