Dear Experts,
Am Using Kendo HTML Grid like Bellow
1.if i have clicked on Submit Button want to Hide Submit Button Based on Status
Here am Able to Hide the Button Based on Status like Bellow
My Problem is if i have any other status like draft also Submit button is in Hidden Mode or if i have added other record means am not able to submit the button and also i cont able to to any other process like(if i have clicked on Approve Button It is not Working Non other Buttons are Working)
For to Hide the Buttons am Using Bellow Code
jQuery("#subdiv1 tbody tr .k-grid-Submit").each(function () {
debugger;
var currentDataItem = jQuery("#subdiv1").data("kendoGrid").dataItem(jQuery(this).closest("tr"));
if(currentDataItem.pcl_travelplanactivitystatus.value==798330003)
{
jQuery(".k-grid-edit").remove();
}
if(currentDataItem.pcl_travelplanactivitystatus.value==798330003)
{
jQuery(".k-grid-Submit").remove();
}
});
Can any one Help on this
Thanks
Shankar
*This post is locked for comments