Hi,
We need the below option to be implemented on the Kendo pie chart.
1) How do we merge the below 2% series value in other series value? Video link mentioned below for your reference.
2) We need to show the merged value data in the tool-tip. I have added the video link on the pie chart working and screenshot of the code & data-source. Can you please check and help with this?
Video link (old&new) , screenshot 1 , screenshot 2
Hello,
I often use custom editors.
But when using the dropdown list
$ ("# ..."). data ('kendoDropDownList');
I need to access the editor in the form, but I don't know what goes into # ...
If you created this editor statically, you would have an ID, but if you create a custom one, you will not have a separate ID.
My custom editor looks like this, and the ID I tried was the same as the string output in options.field.
dayDropDownEditor : function (container, options) {
$('<
input
id
=
"operDay"
data-bind
=
"value:' + options.field + '"
/>')
.appendTo(container)
.kendoDropDownList({
suggest: true,
dataSource: [
{name:'월', operDay: '월요일', isDeleted: true },
{name:'화', operDay: '화요일', isDeleted: false },
{name:'수', operDay: '수요일', isDeleted: true },
{name:'목', operDay: '목요일', isDeleted: false },
{name:'금', operDay: '금요일', isDeleted: false },
{name:'토', operDay: '토요일', isDeleted: false },
{name:'일', operDay: '일요일', isDeleted: false }
],
dataTextField: 'operDay',
dataValueField: 'operDay',
valuePrimitive: true,
select: function(e){
alert(JSON.stringify(options.field));
},
change: function(e) {
},
template: kendo.template($("#template").html())
});
}
"fn1": function() {
var dropdown = $("#operDay").data("kendoDropDownList");
var oranges = dropdown.dataSource.get(2);
oranges.set("isDeleted", true);
}
What data should be inside # ... for me to access .data ('kendoDropDownList')?
After removing an item in the list box it does not focus on the first item by default, We need an option to focus on the first item. Attached screenshot & video link for your reference. Please check
Video link and screenshot
Hi Developer,
How to dynamically increase rows after I have created the Kendo SpreadSheet. The default row number is 200. When I use insertRow, the sheet only shift row next, but the rows still 200 and not 201.
Best regards,
Sang
I have a Kendo UI treeview which contains some node that i load children on expand by firing a ajax call and returning a data array. This works fine and i get the data and it binds to the tree.
However the issue occurs after the first expand of a node, when i expand the node first time the tree behaves correctly and everything is fine, however if i collapse and expand the node again the tree does not push the other nodes down and the expanded node overlaps all other icons in tree.
Here is the code that i use to build the tree
01.
$(
'#all-library-tree'
).kendoTreeView({
02.
loadOnDemand:
true
,
03.
dataSource: _masterTreeViewMasterObj.sort().reverse(),
04.
expand:
function
(e) {
05.
var
treeView = $(
'#all-library-tree'
).data(
'kendoTreeView'
);
06.
var
dataItem = treeView.dataItem(e.node);
07.
dataItem.load();
08.
09.
if
(dataItem.children.data().length !== 0)
return
;
10.
11.
12.
if
(dataItem.id === -1) {
13.
//get unused data
14.
GetUnUsedChildrenForRHSTree(dataItem.text, dataItem.children);
15.
}
16.
17.
}
18.
});
Hi,
I am currently using the <A href> tag button as a template feature for column cells.
I want the button and the value I entered directly in this cell to be displayed at the same time.
[Value {button}]
Think of {} as a button.
The ideal solution is
[Value | {button}]
I want to have a value and a button area in one cell.
No matter how long the value is, it must not extend beyond the button area.
But the most important thing is to make the value visible first.
The current value is entered, but because the transparent area of the small button covers the entire cell (which is my reasoning), the value is hidden and invisible.
(Click the cell for correction and you will see the value. If it goes out of focus, it will be hidden again.)
How can we solve this?
columns: [
{selectable: true, width: "35px"},
{field: 'fnProdInOutSeq', hidden: true},
{field: 'lotNo', title: '입고 Lot', width: 100},
{field: 'prodNm', title: '품명', width: 100,
template:
"<
a
href
=
'javascript:'
class=\"k-icon k-i-search\"
onclick
=
'return fnObj.gridView03.gridFn.searchComp(\"#= prodNo #\")'
style
=
'float:right'
> </
a
>"
}
]