Hi
I'mcurrently evaluating the Kendo UI
I load some data from a data service and show the data in the grid.
I have a custom column definition in which i don't show the primary key.
But how can I access the primary key in the change event ?
I can't find something like this in the samples
Can someone help ?
Below my jscript code
$(document).ready(function () {
var apiUrl = '@(Url.RouteUrl("DefaultApi", new { httproute = "", controller = "Inbox" }))';
$("#inboxGrid").kendoGrid({
change:onSelectionChanged,
dataSource:
{
transport: { read: apiUrl },
},
columns: [
{ title: "SentDate", field: "SentDate", filterable: true, sortable: true, format: "{0:dd.MM.yy}" },
{ title: "Subject", field: "Subject", filterable: true, sortable:false}
],
});
});
I'mcurrently evaluating the Kendo UI
I load some data from a data service and show the data in the grid.
I have a custom column definition in which i don't show the primary key.
But how can I access the primary key in the change event ?
I can't find something like this in the samples
Can someone help ?
Below my jscript code
$(document).ready(function () {
var apiUrl = '@(Url.RouteUrl("DefaultApi", new { httproute = "", controller = "Inbox" }))';
$("#inboxGrid").kendoGrid({
change:onSelectionChanged,
dataSource:
{
transport: { read: apiUrl },
},
columns: [
{ title: "SentDate", field: "SentDate", filterable: true, sortable: true, format: "{0:dd.MM.yy}" },
{ title: "Subject", field: "Subject", filterable: true, sortable:false}
],
});
});