English 中文(简体)
我如何在jqGrid对Add顿进行定制?
原标题:How do I customize the Add button in jqGrid?

我有一根 j子,当我做一 sea时,我就得到一小log。 顶部有一个“+”信号,为高级搜索增加浏览量。 有可能将这一纽芬兰文改成一所普通的“Add”学校,而不会把黑塞哥打入图书馆。 是否有办法书写延期? 情况如何?

<input type="button" value="+" title="Add rule" class="add-rule ui-add">
最佳回答

The method navGrid has some parameters which can be used to change the look of navigator buttons. I used additionally toppager: true option of jqGrid and cloneToTop: true option of navGrid for the case that one uses top pager. If one just create the navigator buttons with respect of the call

$grid.jqGrid( navGrid ,  #pager , {
    cloneToTop: true,
    view: true,
    add: true,
    edit: true,
    addtext:  Add ,
    edittext:  Edit ,
    deltext:  Delete ,
    searchtext:  Search ,
    refreshtext:  Reload ,
    viewtext:  View 
});

人们将看到类似结果。

“entergraph

我只使用<代码>rowNum:2进行测试,以减少照片的高度。

如果我正确理解你的话,你想要有纯粹的文本纽芬兰语。 从各州清除ons,可以执行以下补充路线:

var pagerId =  pager , gridId = $.jgrid.jqID($grid[0].id);
$( #  + pagerId).find( .navtable span.ui-icon ).remove();
$( #  + gridId +  _toppager ).find( .navtable span.ui-icon ).remove();

www.un.org/Depts/DGACM/index_french.htm 如果电网背面能够包含>meta-characters,则需要使用<代码>。 结果将是

“entergraph

下一步是确定权利,使 but子的dding子或边缘更好地展示案文:

.ui-jqgrid .ui-jqgrid-pager .navtable .ui-pg-div,
.ui-jqgrid .ui-jqgrid-toppager .navtable .ui-pg-div {
    padding-right: 3px;
    padding-left: 3px;
}

成果将改善如下:

“entergraph

现在我们需要确定页数的位置。 我们可以在这一点上这样做。

$( #  + pagerId +  _left ).width($( #  + pagerId +   .navtable ).width());
$( #  + gridId +  _toppager_left ).width($( #  + gridId +  _toppager .navtable ).width());
$( #  + pagerId +  _center )[0].style.width=  ;
$( #  + gridId +  _toppager_center )[0].style.width=  ;

具有以下成果:

“entergraph

或删除页数中其他未使用的权利部分

$( #  + pagerId +  _right ).remove();
$( #  + gridId +  _toppager_right ).remove();

2. 在该页末页上放置页码:

“enterography

我认为,这多半是人们看得较好的口味问题。 http://www.ok-soft-gmbh.com/jqGrid/NavButtonsWithText0.htm“rel=“noretinger”>here

Alternatively you can do use icons over the text, but place the text under the icons. You can see details in the demo which produces the following results:

“entergraph

<>UPDATED: 为定制“Add Rule”或“Add group”纽芬兰文,您可使用。 备选办法:

afterRedraw: function () {
    $( input.add-rule ,this).val( Add new rule );
    $( input.add-group ,this).val( Add new rule group );
}

rel=“noreferer” The demo which use the programme produced the searching dialog such as the following:

“entergraph

(如果使用<代码>多组:真实<>/代码>,则有“Add”组;如果使用<代码>多等级:真实,则有“Add Rule”但ton)。

www.un.org/Depts/DGACM/index_spanish.htm 如果使用 j子,可以提高探监方言的可见度:

afterRedraw: function () {
    $( input.add-rule ,this).val( Add new rule ).button();
    $( input.add-group ,this).val( Add new group or rules ).button();
    $( input.delete-rule ,this).val( Delete rule ).button();
    $( input.delete-group ,this).val( Delete group ).button();
}

结果的方言如下:

“entergraph

问题回答

暂无回答




相关问题
Good articles on usability?

I m looking to find any articles/books on usability. I d like to get a handle on best practices when designing a UI, this can be anything from which user controls are more intuitive to a new user, to ...

Long running App, how handle Errors?

i have to implement a Info Terminal. I choose dot.net and the terminal is only a touchpad. So this System running 7 days 24 hours. So i call a Webservice, display Data, show Website stuff. Many ...

Showing a secure password dialog on a web page

I ve built a Single-Sign-On system for our web network. It works like this: User clicks a login link on the site he wants to log in to (the "Unsafe Site"). The unsafe site s ID is passed in the URL. ...

How Can I Make This Python Code More Usable And Readable?

Beginner in python, but been programming for about 5 years now. I suspect I have a lot to learn about doing things the object oriented way, but I know the basics. I planned on programming a calculator ...

热门标签