回复 3楼李军的帖子
你好,
先提供一个 Work-around,在前台抓取过滤器进行文本设置,具体代码如下:
- <script>
- $(document).ready(function () {
- var ops = [
- { name: "equals", displayName: "equals1" },
- { name: "notequal", displayName: "notequal1" },
- { name: "greater", displayName: "greater1" },
- { name: "less", displayName: "less1" },
- { name: "greaterorequal", displayName: "greaterorequal1" },
- { name: "lessorequal", displayName: "lessorequal1" },
- { name: "contains", displayName: "contains1" },
- { name: "notcontain", displayName: "notcontain1" },
- { name: "beginswith", displayName: "beginswith1" },
- { name: "endswith", displayName: "endswith1" },
- { name: "isempty", displayName: "isempty1" },
- { name: "notisempty", displayName: "notisempty1" },
- { name: "isnull", displayName: "isnull1" },
- { name: "notisnull", displayName: "notisnull1" },
- { name: "nofilter", displayName: "nofilter1" } ];
- $("#<%=C1GridView1.ClientID%>").data("wijmo-c1gridview")._localizeFilterOperators(ops); });
- </script>
复制代码
以上只是一个暂时的解决方法,在 2014V2 版中会正式添加相应的汉化资源。了解到您购买的是 2014V1 版所以可以免费升级到 V2。
请测试。有其他问题欢迎继续交流。 |