Customize attribute rowsPerPageTemplate of

后端 未结 1 746
伪装坚强ぢ
伪装坚强ぢ 2020-12-18 15:44

In my application I have a with attributes lazy=\"true\" paginatorTemplate=\"...{RowsPerPageDropdown}...\" rowsPerPageTemplate=\"10,50

相关标签:
1条回答
  • 2020-12-18 16:25

    My approach is change to ALL in clientside by using jquery or javascript. I have one form(id="form") and one datatable(id="cars") inside(you try the link ALL first):

    <script type="text/javascript">
                    $(document).ready(function() {
                        $('#form\\:cars .ui-paginator-rpp-options.ui-widget.ui-state-default.ui-corner-left')
                        .each(function() {
                            $(this).children().last().html('ALL');
                        });
                    })
                </script>
    
    0 讨论(0)
提交回复
热议问题