我在父菜单下的管理员中添加子菜单,但是当我们选择子菜单时,只有一个子菜单会在管理员中突出显示而其他子菜单不会突出显示.
我在config.xml文件中添加了以下代码.
<menu>
<customersettings module="customersettings">
<title>Advance Settings</title>
<sort_order>100</sort_order>
<children>
<customersettings module="customersettings">
<title>Customer Settings</title>
<sort_order>0</sort_order>
<action>customersettings/adminhtml_customersettings</action>
</customersettings>
</children>
</customersettings>
</menu>
Run Code Online (Sandbox Code Playgroud)
请给我一些建议,谢谢.
我的数据列表视图网格结构是这样的.
<div id="listView">
<div class="product"><h3>India</h3></div>
<div class="product1"><h3>Gujarat</h3></div>
<div class="product"><h3>Surat</h3></div>
</div>
Run Code Online (Sandbox Code Playgroud)
我想设置数据源具有类product1的新数据.
恩.喜欢
<div class="product1"><h3>Gujarat</h3></div>
Run Code Online (Sandbox Code Playgroud)
我想把古吉拉特改成其他名字.
我使用下面的代码,但这只设置第一个元素,而不是检查特定的类.
var firstItem = $('#listView').data().kendoListView.dataSource.data()[0];
firstItem.set('name','The updated Name');
Run Code Online (Sandbox Code Playgroud)
如果你知道的话,请回复解决方案.
我的示例数据列表视图网格结构是这样的.
<div id="listView">
<div class="product"><h3>India</h3></div>
<div class="product1"><h3>Gujarat</h3></div>
<div class="product"><h3>Surat</h3></div>
</div>
Run Code Online (Sandbox Code Playgroud)
我想删除listview数据源中的所有数据项.我使用kendo ui autocomplete进行搜索,并在数据源网格中添加新数据.所以每当我添加新的旧数据将删除并添加新数据.
所以如果你知道那么请回复.