Please suggest me
Anwar qop
Hello Ballu,
I have created a sample application to demonstrate how you can have igUpload in iggrid.
In my sample I have taken a little different approach then the solution provided by Martin in the post.
I am having a Client event when all rows are rendered by using ‘rowsRendered’ even and
In this event I am binding upload control with the grid.
Your code would be like below:
.AddClientEvent("rowsRendered", "instantiateUploads")
<script type="text/javascript">
function instantiateUploads() {
$("#grid1 .upload-control").igUpload({});
};
</script>
Please note just to reduce the sample size i have removed the dlls from bin folder.
Find the attached sample and let me know if you need further assistance.
Thanks for your reply.
columns{
headerText:Upload,
Unbound:true,
Template"<div id='${ProductID}' class='upload-control'></div>"
}
I am using above code. but i am getting below error
id is not determined.
Please share the completed code.
To get the header text in the upload column of the grid you can add HeaderText property as below.
Your code would be like this:
column.Unbound("UploadColumn").HeaderText("Upload").Width("300px").Template("<div id='${ProductID}' class='upload-control'></div>").Width("200px");
Please let me know if you need further assistance.
Thanks for the solution.
I am unable to display the header text.
Please share the complete solution file