5 Answers, 1 is accepted
Hello Bryan,
We don't understand what you mean here. Kendo UI is client-side library and essentially it is agnostic on the server-side architecture.
How do you call such methods outside the Grid? There shouldn't be any difference in the approach.
Regards,
Nikolay Rusev
Telerik
I am developing in Xpages, which is based on JSF.
In my IDE I can write SSJS or CSJS.
Until I started using Kendo UI generally most things that I wrote were SSJS,
Probably I am not understanding how to integrate Kendo UI with my data. Everything works fine for loading the data and scrolling through it and paging it and so on.
But now a user wants to take an action on one or more items in the grid - delete an item, or process an item, or change an item.
I am able to get the unique identifier for my document and then I want to make a call to the server to take the appropriate action.
So I have a REST call that gets the data for me. And the script for that looks like this:
$("#grid").kendoGrid(
{
dataSource: {
transport: {
read: "xRest_1.xsp/Users"
},
pageSize:20
},
height: 550,
groupable: true,
sortable: true,
resizable: true,
reorderable: true,
filtertable: true,
selectable: true,
dataBound: addExtraStylingToGrid, // this is where the hover effect function is bound to grid
<!--filterable: {-->
<!-- mode: "row"-->
I believe what I need to do is to use something like in the attachment.
Hello Bryan,
The Grid, as well as any other data-driven widget, is using DataSource to communicate with the server. It is using jQuery.ajax to make AJAX call to remote-end point (the server).
The Grid Editing example demonstrates how editing can be communicated withe the server. Updated models are being send, and the server must response with updated models.
Regards,
Nikolay Rusev
Telerik