<tfoot id='xvPWY'></tfoot>

  1. <small id='xvPWY'></small><noframes id='xvPWY'>

  2. <i id='xvPWY'><tr id='xvPWY'><dt id='xvPWY'><q id='xvPWY'><span id='xvPWY'><b id='xvPWY'><form id='xvPWY'><ins id='xvPWY'></ins><ul id='xvPWY'></ul><sub id='xvPWY'></sub></form><legend id='xvPWY'></legend><bdo id='xvPWY'><pre id='xvPWY'><center id='xvPWY'></center></pre></bdo></b><th id='xvPWY'></th></span></q></dt></tr></i><div id='xvPWY'><tfoot id='xvPWY'></tfoot><dl id='xvPWY'><fieldset id='xvPWY'></fieldset></dl></div>
      <legend id='xvPWY'><style id='xvPWY'><dir id='xvPWY'><q id='xvPWY'></q></dir></style></legend>

      • <bdo id='xvPWY'></bdo><ul id='xvPWY'></ul>
    1. 如何在 jqgrid 高级搜索对话框中本地化按钮工具提示

      how to localize button tooltips in jqgrid advanced search dialog(如何在 jqgrid 高级搜索对话框中本地化按钮工具提示)
        <i id='juPAl'><tr id='juPAl'><dt id='juPAl'><q id='juPAl'><span id='juPAl'><b id='juPAl'><form id='juPAl'><ins id='juPAl'></ins><ul id='juPAl'></ul><sub id='juPAl'></sub></form><legend id='juPAl'></legend><bdo id='juPAl'><pre id='juPAl'><center id='juPAl'></center></pre></bdo></b><th id='juPAl'></th></span></q></dt></tr></i><div id='juPAl'><tfoot id='juPAl'></tfoot><dl id='juPAl'><fieldset id='juPAl'></fieldset></dl></div>

          <legend id='juPAl'><style id='juPAl'><dir id='juPAl'><q id='juPAl'></q></dir></style></legend>

            <small id='juPAl'></small><noframes id='juPAl'>

              <tbody id='juPAl'></tbody>

                <bdo id='juPAl'></bdo><ul id='juPAl'></ul>

                <tfoot id='juPAl'></tfoot>
              • 本文介绍了如何在 jqgrid 高级搜索对话框中本地化按钮工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                似乎工具提示 Add subgroupAdd ruleDelete rule 在 jqgrid 代码中是硬编码的.

                 inputAddSubgroup = $("

                如何本地化它们?

                解决方案

                我已将我的详细信息发布到 trirand

                我使用了以下代码

                $.extend($.jgrid.search, {多重搜索:真,多组:真,重新创建过滤器:真,closeOnEscape:真,closeAfterSearch:真,覆盖:0,重绘后:函数(){$('input.add-rule',this).button().val('添加新规则').attr('title', '我的添加新规则工具提示');$('input.add-group',this).button().val('添加新组或规则').attr('title', '我的新组或规则工具提示');$('input.delete-rule',this).button().val('删除规则').attr('title', '我的删除规则工具提示');$('input.delete-group',this).button().val('删除组').attr('title', '我的删除组工具提示');$(this).find("table.group:not(:first)").css({边框宽度:1px",边框样式:虚线"});}});

                我在组中添加了额外的边框,因为我觉得那里很有帮助.

                It seems like tooltips Add subgroup, Add rule, Delete rule are hard coded in jqgrid code.

                            inputAddSubgroup = $("<input type='button' value='+ {}' title='Add subgroup' class='add-group'/>");
                

                How to localize them?

                解决方案

                I posted to trirand my detailed suggestion and reminded Tony twice about the problem later.

                Additionally I described in the answer a workaround which allows to customize the Advanced searching dialog

                Simple modification of the original demo make the following new demo

                I used the following code

                $.extend($.jgrid.search, {
                    multipleSearch: true,
                    multipleGroup: true,
                    recreateFilter: true,
                    closeOnEscape: true,
                    closeAfterSearch: true,
                    overlay: 0,
                    afterRedraw: function () {
                        $('input.add-rule',this).button().val('Add new rule')
                            .attr('title', 'My Add new rule tooltip');
                        $('input.add-group',this).button().val('Add new group or rules')
                            .attr('title', 'My new group or rules tooltip');
                        $('input.delete-rule',this).button().val('Delete rule')
                            .attr('title', 'My Delete rule tooltip');
                        $('input.delete-group',this).button().val('Delete group')
                            .attr('title', 'My Delete group tooltip');
                        $(this).find("table.group:not(:first)").css({
                            borderWidth: "1px",
                            borderStyle: "dashed"
                        });
                    }
                });
                

                I added additional border in groups because I find there helpful.

                这篇关于如何在 jqgrid 高级搜索对话框中本地化按钮工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Pause youtube video, youtube api(暂停 youtube 视频,youtube api)
                Youtube iframe api not triggering onYouTubeIframeAPIReady(Youtube iframe api 未触发 onYouTubeIframeAPIReady)
                How can I stop a video with Javascript in Youtube?(如何在 Youtube 中停止使用 Javascript 的视频?)
                How to call Greasemonkey#39;s GM_ functions from code that must run in the target page scope?(如何从必须在目标页面范围内运行的代码中调用 Greasemonkey 的 GM_ 函数?)
                How do you mute an embedded Youtube player?(如何使嵌入式 Youtube 播放器静音?)
                How to get number of video views with YouTube API?(如何使用 YouTube API 获取视频观看次数?)

              • <i id='om77e'><tr id='om77e'><dt id='om77e'><q id='om77e'><span id='om77e'><b id='om77e'><form id='om77e'><ins id='om77e'></ins><ul id='om77e'></ul><sub id='om77e'></sub></form><legend id='om77e'></legend><bdo id='om77e'><pre id='om77e'><center id='om77e'></center></pre></bdo></b><th id='om77e'></th></span></q></dt></tr></i><div id='om77e'><tfoot id='om77e'></tfoot><dl id='om77e'><fieldset id='om77e'></fieldset></dl></div>

                <tfoot id='om77e'></tfoot><legend id='om77e'><style id='om77e'><dir id='om77e'><q id='om77e'></q></dir></style></legend>
                  <bdo id='om77e'></bdo><ul id='om77e'></ul>
                    • <small id='om77e'></small><noframes id='om77e'>

                        <tbody id='om77e'></tbody>