I'm trying to get a treeview to just fill available space in the browser window. Meaning the vertical scrollbar on the treeview should be displayed and the vertical scrollbar on the browser window should not. I am using flexbox and it works perfectly in Firefox and Edge, but the TreeView overwrites my footer in Chrome and the entire TreeView is shown. Any help would be appreciated. I don't understand why the difference in functionality between the browsers. I would have expected Chrome and Firefox to behave the same.
<
style
>
html,
body {
height: 100%;
margin: 10px;
padding:0;
}
.box {
display: flex;
flex-flow: column;
height: 100%;
}
.box .row {
border: 1px dotted grey;
}
.box .row.header {
-webkit-flex: 0 1 auto;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
}
.box .row.content {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.box .row.footer {
-webkit-flex: 0 0 40px;
-ms-flex: 0 0 40px;
flex: 0 0 40px;
}
/*
Use the DejaVu Sans font for display and embedding in the PDF file.
The standard PDF fonts have no support for Unicode characters.
*/
.k-treelist {
font-family: "DejaVu Sans", "Arial", sans-serif;
font-size: .9em;
height: 98%;
}
</
style
>
</
head
>
<
body
>
<
div
class
=
"box"
>
<
div
class
=
"row header"
><
h1
class
=
"text-center"
>Component Configuration Report</
h1
></
div
>
<
div
class
=
"col-md-12 pull-left row content"
>
<
span
id
=
"popupNotification"
></
span
>
<
div
id
=
"treelist"
class
=
"row content"
></
div
>
</
div
>
<
div
class
=
"row footer"
>
<
p
>footer</
p
>
</
div
>
</
div
>
I would like to create a validation message only for dropdownlist.
I'd like to get the text value of label.
label is parent of kendo dropdownlist
var custom = function(input){
if(input.is("[data-role=dropdownlist]")){
if(Utils.isNullOrUndefined(input[0].value) || input[0].value.length === 0){
return true;
}
return input.data("kendoDropDownList").value();
}
return true;
}
rules.custom = custom;
messages.custom = function(input){
"Insert" + input.closest("label").text()
}
var validator = {
validate: function(){
$(".k-invalid:first").focus();
},
rules: rules,
messages: messages
};
return $("#form1").kendoValidator(validator).data("kendoValidator");
This solution doesn't work
Hi Support team,
The panel bar expanding is not expanding now ,when I upgraded to the latest version (2017.2.621.545) from old version (2016.....).
here is the JQuery code to expand on java-script call event which I am using ,it was working perfectly
var panelBar = $("#pnlbar").data("kendoPanelBar");
panelBar.select(panelBar.element.children("li").eq(2));
panelBar._selected[0].style.display = 'block';
var item = panelBar.select();
panelBar.expand(item);
please advice me the solution asap to solve the issue ..
Thanks...
Hello,
I have noticed that when i initiate the kendo dropdownlist through mvvm, when the drop down box is opened, the k-list-container is not displaying the correct class name when it is above the form field that opens/closes the k-list-container. It always is set as k-state-border-down when it should be k-state-border-up. Can you please advise on how to fix this? I would like to create some styles that work for the different states.
Hey,
In the context of our application, we need to extract a specific cell's value anywhere in the spreadsheet.
However, calculated cells from the not activeSheet don't seem to be updated unless we switch the actual sheet.
Scenario :
Les say we have Sheet1 and Sheet2
A1 in Sheet1 is our targeted cell which we re-fetch the value onChange of the spreadsheet component with : this.spreadsheet.sheetByName(this.targetedRangeSheetName).range(this.targetedRangeCell).value();
If A1 is a formula like =SUM(B1:B3), when we change something in B1, B2 or B2, onChange is triggered and we re-fetch our targeted cell's value, which matches the value we would expect.
However, if the formula of Sheet1 A1 is something like : =SUM(Sheet2!B1:B3), if we change someting in Sheet2's B1, B2 or B3, onChange is trigger but
this.spreadsheet.sheetByName(this.targetedRangeSheetName).range(this.targetedRangeCell).value()
returns the old value.
How can I an updated value of Sheet1!A1 without switching the activeSheet to Sheet1? Is there a way to trigger the calc on Sheet1?
Kendo ui grid - I was able to open the Grid row click on the same window. But if I right click on row "open in a new tab " or "open in new window" which should direct it to new tab or new window.
Please help me
Hi, seems like the switch cuts down display of labels to about three characters or so.
Is there a way to resize the switch to hold more than three characters on either side of the display? I tried playing around with the css components, but it ends up messing up the switch layout.
Also, both on and off labels get capitalized automatically, I'd like them retain their original format
Here's the code I am using
$("#switch").kendoMobileSwitch({<
br
> onLabel: "My On Label",<
br
> offLabel: "My Off Label",<
br
> change: onChange<
br
> });
<
p
><
div
></
p
><
p
> <
input
id
=
"switch"
checked
=
"checked"
/><
br
></
div
></
p
>
Thanks,
Labhesh