copy the file path which is present in my machine in the text box and hit save
$10-30 USD
Completed
Posted over 6 years ago
$10-30 USD
Paid on delivery
hi,
- I have a text box when I copy the file path which is present in my machine in the text box and hit save. I need to save that file in the kendo grid.
- can you guys tell me how to do it.
- got the grid and the text box.
- but not sure how to save the file in the grid.
- providing my code in the fiddle.
[login to view URL]
$(document).ready(function() {
var grid = $("#grid").kendoGrid({
dataSource: {
data: [
{ FileName: 'need to get the value from the text box', LastName: 'LastName'},
{ FileName: 'need to get the value from the text box', LastName: 'LastName'},
{ FileName: 'need to get the value from the text box', LastName: 'LastName'},
{ FileName: 'need to get the value from the text box', LastName: 'LastName'},
{ FileName: 'need to get the value from the text box', LastName: 'LastName'}],
schema: {
model: {
fields: {
FileName: { type: "string" },
LastName: { type: "string" } }
}
},
sort: {
field: "FileName",
dir: "asc"
},
pageSize: 10
},
height: 500,
scrollable: true,
sortable: true,
selectable: true,
filterable: true,
pageable: true,
columns: [
{
field: "FileName",
title: "File Name"
},
{
field: "LastName",
title: "Last Name"
}
]
}).data("kendoGrid");
[login to view URL](".k-grid-content").eq(0).kendoScroller({ useOnDesktop: false });
});
Hi there
I have worked with KendoGrid. Do you want to save the data to a file on server or you just want to download on your client pc? Please answer the above to help you.
Thanks
Rinsad
$24 USD in 0 day
4.9 (322 reviews)
7.6
7.6
4 freelancers are bidding on average $104 USD for this job
HI SIR I M 100% CONFIDENT FOR THIS PROJECT AWARD ME RIGHT NOW!!!
I am ready to start this immediately. I am extremely eager and ready to go.
Stay tuned, I'm still working on this proposal.