1
我有一個jqgrid,我啓用了多重搜索,我想將「AND」和「OR」組操作文本更改爲相應的值用我的母語。Jqrid搜索對話框 - 如何本地化groupOps文本值「AND」和「或」
我想改變
- ,並與VE
- 或與VEYA
這裏是我的代碼:
jQuery("#kontrollist").jqGrid('navGrid', '#controllistpager',
{
edit: true,
add: true,
del : true,
search: true
},
{ top: 10, left: 300, jqModal: false, closeOnEscape: true }, // edit options
{top: 10, left: 300, jqModal: false, closeOnEscape: true, reloadAfterSubmit: true }, // add options
{top: 100, left: 200, jqModal: false, closeOnEscape: true }, // del options
// search options
{
top: 100,
left: 250,
jqModal: false,
closeOnEscape: true,
groupOps: [{ op: "AND", text: "all" }, { op: "OR", text: "any"}],
//showQuery: true,
multipleSearch: true,
},
{top: 100, left: 200, jqModal: false, closeOnEscape: true} // view options
);
我試圖改變的「, 」運算「 屬性groupOps「like
groupOps: [{ op: "VE", text: "all" }, { op: "VEYA", text: "any"}],
和像
groupOps: [{ op: "AND", text: "VE" }, { op: "OR", text: "VEYA"}],
這既沒有工作。 有沒有辦法改變這些值?任何幫助表示讚賞,在此先感謝。
感謝您的回答,我希望他們參數化他們在下一個版本:) – tthrashy
@darkbluw:不客氣!我希望是一樣的。 :-) – Oleg