Page Length is added twice
Page Length is added twice
 ARL            
            
                Posts: 2Questions: 1Answers: 0
ARL            
            
                Posts: 2Questions: 1Answers: 0            
            When I add pageLength to topStart (or omit it) it's shown once, at the top as expected.
 layout: {
        bottomStart: 'paging',
        bottomEnd: 'info',
        bottom2Start: {
           buttons: ['csv', 'excel'],  
         },
         topStart: {
            pageLength: {
                menu: [ 12, 24, 48, 100, 'All' ]
            },
          }
 },
When I set pageLength to bottomStart or bottomEnd its added twice, once at the top and once at the bottom.
 layout: {
                        bottomStart: 'paging',
                        bottomEnd: 'info',
                        bottom2Start: {
                            buttons: ['csv', 'excel'],  
                        },
                        bottom2End: {
                            pageLength: {
                                menu: [ 12, 24, 48, 100, 'All' ]
                            },
                        }
                    },
Do I need to disable the top pageLength control somehow or is this a possible bug?
Thanks in advance
This question has an accepted answers - jump to answer
This discussion has been closed.
            
Answers
The
layoutdocs show what to do. It shows the default layout wheretopStart: 'pageLength'is set. If you want to remove it from the top usetopStart: nullas shown in the first example.Kevin
@kthorngren Thank you!