Hello, I would like to show/hide tabs on a grid detail template based on grid value:
do anyone achieved something similar?
Best Regards
<script id=
"template"
type=
"text/kendo-tmpl"
>
@(Html.Kendo().TabStrip()
.Name(
"tabStrip_#=ID#"
)
.SelectedIndex(0)
.Animation(animation => animation.Open(open => open.Fade(FadeDirection.In)))
.Items(items =>
{
//if current grid row field #ShowExpected#
items.Add().Text(
"Expected Items"
).Content(@<text>show a grid containing expected items</text>);
//if current grid row field #ShowReceived#
items.Add().Text(
"Received Items"
).Content(@<text>show a grid containing received items</text>);
})
.ToClientTemplate())
</script>