【发布时间】:2014-03-05 04:15:12
【问题描述】:
我有一个按运输优先级分组的 Telerik MVC 网格。将列拖到分组区域时,是按升序分组排序。我想切换它,使其降序排序。我尝试使用下面的 jQuery 函数来单击按钮,但它没有触发。我在这里错过了什么?
$(function () {
var item = $("#Shipping tbody > .t-grouping-header > .t-grouping-indicator");
alert(item) //Says that is an object. I also made sure that it has a click property by iterating through item
$(item).click(function() {
alert('you click me');
item.click();
});
});
});
于 2014 年 2 月 7 日下午 12:42 更新
Here is the link where I describe the grid that I am using.
提前感谢您的帮助。
【问题讨论】:
标签: javascript jquery asp.net-mvc-3 telerik telerik-mvc