or
var
payItems = kendo.data.Model.define({
id:
"PayItemID"
});
var
URL =
"http://myserver/service.svc/PayItems"
var
dataSource =
new
kendo.data.DataSource({
type:
"odata"
,
transport: {
read: {
url: URL,
type:
"GET"
},
create: {
url: URL,
type:
"POST"
},
update: {
type:
"PUT"
},
destroy: {
type:
"DELETE"
}
},
schema: {
total:
"count"
,
model: payItems
}
});
//end of dataSource var
this
.dataSource.options.transport.update.url = URL +
"("
+ id +
")"
;
this
.dataSource.options.transport.destroy.url = URL +
"("
+ id +
")"
;
<
div
id="horizontal">
<
div
>
<
h2
>header here</
h2
>
<!-- scroll only this part -->
<
p
>left pane</
p
>
<
p
>...</
p
><
p
>...</
p
><
p
>...</
p
><
p
>...</
p
><
p
>...</
p
><
p
>...</
p
>
<!-- / scroll only this part -->
<
h2
>footer here</
h2
>
</
div
>
<
div
>
center pane
</
div
>
<
div
>
east pane
</
div
>
</
div
>