问题标签 [kendo-panelbar]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
93 浏览

asp.net - 重命名选定的 Kendo PanelBar

您将如何重命名当前选定的 PanelBar。我有一个有效的选择功能,此方法删除选定的 panelBar

此方法重命名第一个 PanelBar

没有快乐地尝试

谢谢

0 投票
1 回答
1284 浏览

jquery - 剑道 panelBar.append 内容

我想使用 panelBar.append 添加一个新面板,在使用中格式化内容.Content(@<text></text>);

当我使用 panelBar.Add() 时就像这个例子

如何使用 .append 执行此操作?谢谢

0 投票
1 回答
59 浏览

javascript - 带有 JavaScript 的 Razor html

如何更好地编写内容之间的 html: [ ] ?我有一个布局要进去,必须有更好的方法......

0 投票
1 回答
677 浏览

javascript - 计算 Kendo PanelBar 中的面板(项目)

我使用下面的 JavaScript 代码插入项目,我如何计算有多少?

0 投票
1 回答
1344 浏览

jquery - How to make an
    act as an
      (with numbers instead of bullets)?

This is an unfortunate question, but I don't see any other way around it.

Basically, I am using Kendo UI panelbar to create expandable lists. The problem is, when you use an <ol> as the sublist, the panelbar functionality doesn't work.

Example in Fiddle: http://jsfiddle.net/b3y62uzr/2/

HTML:

You can see that the first item can be expanded/collapsed properly, but the second item is always open and can't be interacted with.

In my application, I need the sub-list in my expanded section to be numbered rather than bulleted. (I modified the Kendo Panelbar styling to show the bullets).

So the question is: Is it possible to make an <ul> use numbers instead of bullets?

Edit: Use this Fiddle if you want for your answer: https://jsfiddle.net/1h2kLqu4/1/

0 投票
2 回答
4295 浏览

javascript - 当我单击位于面板栏本身上的按钮时,如何防止 Kendo 面板栏折叠

我有一个放置在 Kendo Panelbar 上的按钮。我正在编写一个 jQuery 函数,以便当用户单击按钮面板栏时不会折叠。我提出的其他逻辑是单击按钮时没有回发。我不能让它工作。帮助表示赞赏!:) 这是代码片段。

0 投票
1 回答
708 浏览

javascript - 如何让 KendoPanel 的所有部分展开

我刚开始使用 KendoPanel,我想在特定条件下扩展面板的所有部分。我正在使用以下代码来实现这一点:

似乎它正在收缩所有细分市场而不是扩大它们。我究竟做错了什么?

0 投票
1 回答
120 浏览

css - PanelBar 扩展得太远,然后向上滑动

我有一个显示一些 div/UL 的面板栏。例如,当列表的宽度设置为 40% 时,会导致面板栏向下滑动比它应该的位置更远,然后跳回到它“应该”的位置。去掉 UL 上的 40%,一切都按预期工作。

版本 2015.3.930 有这个问题,而旧版本(随机选择 2011.3.1407)没有。

在这里看小提琴:http: //jsfiddle.net/u48kLrem/

从 pagelist 类中删除 width:40% ,它会按预期滑动。

0 投票
2 回答
132 浏览

knockout.js - 循环遍历列表时,Knockoutjs kendoPanelBar 不起作用

有谁知道我的代码发生了什么,我似乎无法让 kendoPanelBar 使用这样的代码:

但是,如果不在 foreach 循环内,则面板栏工作正常。

希望你能帮助我。谢谢。

0 投票
1 回答
546 浏览

kendo-ui - 在 Kendo 面板栏中使用 Font-Awesome 显示 SpriteClass

<i>在剑道面板栏中显示时遇到问题,因为它只使用<span><img>

是否可以在 Kendo 面板栏中使用 Font Awesome?

显示代码<span>