Click here to Skip to main content
15,902,938 members

Comments by Sharath.Mitte (Top 5 by date)

Sharath.Mitte 20-Oct-16 8:16am View    
Deleted
I apologize on this, due to less time I pass the link instead of copy and paste, I thought all will do the same. but here is my issue

I have a kendo data source with custom template I would like to do a auto complete combo box on the that template, template having userID and FullName.

I assigned text field to Name and Value field to Id, as default kendo will provide fileter:"contains" on text field but here i want same on value field also.I did my k-options call
$scope.CMComboOptions = {
dataTextField: "EmployeeFullName",
dataValueField: "UserId",

filter: "contains",
filtering:
function(e){
var selectedValue = $('#combocontactmanager').closest("span").children("span").children("input").val(); // comboBox.value();

if (selectedValue.length > 0) {
var filter = new Array();
if (!isNaN(selectedValue)) {
var temp = selectedValue.toString().toLowerCase();
filter.push({ field: "UserId", operator: "contains", value: temp });
} else {
filter.push({ field: "EmployeeFullName", operator: "contains", value: selectedValue });
}
dorDataSource.filter(filter);
} else {
dorDataSource.filter([]);
}
//},
},


dataSource: dorDataSource,
clearButton: false,
change: function (e) {
debugger;

var widget = e.sender;

if (widget.value() && widget.select() === -1) {
// console.log(widget.value())
//custom has been selected
// widget.value(""); //reset widget
jQuery("#combocontactmanager").data("kendoComboBox").value("")
$scope.cMVal = "";


}
},
headerTemplate: '' +
'Id' +
'Employee Name' +
'',
template: '#: UserId#' +
'#: EmployeeFullName#',
}
I was trying to override the filter result for Id filed but its not worked for me, can you please suggest what I can do achieve this
Sharath.Mitte 10-Jun-14 3:05am View    
Hi Roy,
thanks for your reply..when am executing the workflow for example assume that i have 3 activities first one is capture claim and next is verify that claim and approve the claim, if i have completed the first activity the next action will be updated like as Verify the claim so am executing that flow, if any error occurred like disconnecting the internet that time my activity is getting locked state, so i have to unlock that one and continue the next actions
Sharath.Mitte 23-May-14 15:52pm View    
thanks amol_B, it works for me:)
Sharath.Mitte 28-Apr-14 10:24am View    
Hi,<br>
Thanks for Quick reply, now i got it little more..works fine

Sharath.Mitte 25-Apr-14 7:43am View    
its good..but in my case i have a master page,am using script manager in master, and i want to do this code in child page of master..how can i go for that?