开发者

In jqgrid, can I put the pager on the top left

when u开发者_运维技巧sing jqgrid, I see i can add the pager to the top by doing this:

    toppager: true,

which works great, but i wanted to see if i can align this to the left of that row instead of putting it in the center. Is this possible ?


To place the pager element left top which is per default at the top center you should just hide the div which is on the top left position.

$('#' + grid[0].id + '_toppager_left').hide();

where var grid = $('#list') for example. See the demo:

In jqgrid, can I put the pager on the top left

Another old answer describes how you can move different pager elements between the top and the bottom pager. The answer gives some more general information about the pagers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜