kendo & jsdo - Forum - Mobile - Progress Community

kendo & jsdo

 Forum

kendo & jsdo

This question is answered

Hi,

I looked at one of the components of kendo, the grid, and like the looks and clear, un-verbose configuration in the .html. See f.e. http://demos.telerik.com/kendo-ui/grid/editing-inline . I heard psc is working on integration of kendo with the jsdo. That's great. My question is

1. Am I bound to the progress appserver when I use the jsdo?

2. Will psc make it easy to swich from jsdo to f.e. oData (see http://msdn.microsoft.com/en-us/data/hh237663.aspx) and  vice versa, so keep the config necessary in the .html as independent as possible from the datasourcetype? I would prefer to be able to config the datasourcetype in one place only.  At the moment kendo supports odata I suppose: http://demos.telerik.com/kendo-ui/treeview/odata-binding.

Kind regards,

Stefan Houtzager

Houtzager ICT consultancy & development

www.linkedin.com/in/stefanhoutzager

 

   

Verified Answer
All Replies
  • I'll ask Roland if he wants to post the code in this thread. I made the read even simpler (swollen-headed

    grin) btw :

    jsdo.subscribe("AfterFill",

                              function afterFillCustomers (jsdo, success, request) {

                                 jsdo.unsubscribe('AfterFill', arguments.callee);

                                 <component>.setData(jsdo.getData());

                                 },

                              this);

               jsdo.fill();

  • My example code was indeed more extended, main reason was to show how cool it is that you can use a ForEach on a temp-table (kind of) in the browser:

    jsdo.subscribe('afterFill', function(jsdo, success, request) {

                                   jsdo.unsubscribe('afterFill', arguments.callee);

                                   var arr = [];

                                   jsdo.ttCustomer.foreach(function(customer) {

                                       arr.push({

                                           CustNum: jsdo.ttCustomer.CustNum,

                                           Name: jsdo.ttCustomer.Name,

                                           State: jsdo.ttCustomer.State,

                                           City: jsdo.ttCustomer.City

                                       });

                                   });

                                   options.success(arr);

                               }, this);

                               jsdo.fill();

    The example with update/delete is fully functional (in the demo i changed the customer name, resulting in a failure of my regression test in TestStudio), but can not be shared yet (as Bill mentioned). However i showed the next code snippets to give an idea how the future code, using a jsdo datasource type, could look like:

    var dataSource = {

    type: "jsdo",

    transport: {

    config: {

    serviceURI: "http://localhost:8810/KickOff",

    catalogURI: "http://localhost:8810/KickOff/static/mobile/KickOffService.json",

    resourceName: "customer",

    autoSync: false,

    filter: ""

    }

    }

  • Looking forward to some samples using the JSDO / Kendo UI grid for demonstration purposes.

    Hope this can be shared anytime soon.

    Regards, Simon.

  • Maybe offtopic but will Kendo UI be part of the PSDN license?

  • Wrt

    Maybe offtopic but will Kendo UI be part of the PSDN license?

    Product management would have to weigh in on this generally but for Kendo UI Core this is open source.  
    In addition, there is Kendo UI Professional which includes many of the data visualization controls and that has a per-developer license.  Almost all the Telerik components are licensed per developer with no runtime cost. 
  • example012.html

    Hello,


    Here is a sample program that you can use for demonstration purposes.


    The key point here is that the transport property in the Kendo UI DataSource is configured with functions that perform the CRUD operations.

    The functions can be customized if needed or moved into a separate JavaScript file to make the sample simpler.

    You can see some examples in action at the following location:

    Best regards.

  • Ok, so the Pro version will not be part of the PSDN license?

  • Thanks for the examples.

    I managed to get a mobile backend working with the kendo ui grid and the jsdo.

    Any suggestions for an IDE that works well with kendo ui?

  • It is not CURRENTLY part of the PSDN license. That is all I know at this point. =
  • WRT:

    >>> Any suggestions for an IDE that works well with Kendo UI.

    Comments:

    I am not a Kendo expert, but Kendo UI is a JavaScript framework for HTML pages, and works with any IDE.  It is intended to work with your favorite Web/HTML5 tooling.   I did ask in the hallway, and the Kendo team really has no specific preferences and almost every editor is in use. 

    It occurs to me that your question is really one that is just about Kendo.  I wanted to say that the best source for Kendo UI questions is the Telerik Community at http://www.telerik.com/forums.  (or www.telerik.com/.../kendo-ui).   I should also say that you need to purchase Kendo UI Professional to access this community (after the 30-day trial).  

    For the Kendo UI Core, which is the open-source subset of Kendo UI, there is also help available on StackOverflow: stackoverflow.com/.../kendo-ui.

    That being said, as an OpenEdge customer, you are probably most interested in those great data visualization controls for grids, charts, gauges, and trees, so you probably do want the Professional license anyway.  This gives you access to the Telerik forum which is where the Kendo UI team spends a significant amount of time answering user questions.

    One more comment on IDE.   If you are looking specifically for an IDE aimed at Kendo UI and mobile development, then certainly look at Telerik Platform.  This is probably the best source for tooling around Kendo UI for web apps, hybrid, and native mobile and tablet applications.  The Telerik Platform license includes access to Kendo UI Professional, and also provides many IDE options including: interactive browser IDE, standalone IDE for Windows, and plugins for Visual Studio and Sublime Text.

    Two other useful links for you as you get into Kendo UI:

    • Telerik provides a "Telerik Kendo UI Chrome Inspector" (see the Chrome WebStore):  This is a Chrome Developer extension allowing you to inspect, debug, and troubleshoot pages containing Kendo controls.

    • dojo.telerik.com: This is an interactive browser-based environment to help you get started with Kendo UI, and to share and test code snippets.

    Thanks for the question.

  • >  I wanted to say that the best source for Kendo UI questions is the Telerik Community at

    > http://www.telerik.com/forums.  (or www.telerik.com/.../kendo-ui).   I should also say that you need to purchase Kendo > UI Professional to access this community (after the 30-day trial).  

    Maybe a new telerik group here would help us. The telerik guys could look and answer some questions there. Important to keep the fire hot I think. Thanks for your extensive answer.