toggleDetails
Toggles the Details/Info box, when enabled. See the showDetails configuration option for details on enabling/disabling the functionality.
Example - toggle the expanded/collapsed state of an item
<button id="btn">Toggle expanded/collapsed state</button>
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
model: {
foo: "bar",
baz: 5
},
width: 500,
items: [
{field:"foo", description:"foo property description"}
]
});
$("#btn").click(function(){
var component = $("#propertyGrid").data("kendoPropertyGrid");
component.toggleDetails();
});
</script>