Skip to content

Commit aaa6c19

Browse files
author
Cyril Ferlicot
committed
https://github.com/DuneSt/MaterialDesignLite/issues/48
1 parent ace3e31 commit aaa6c19

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
accessing
2+
noPagination
3+
self rowsPerPagePossibilities: {(Float infinity)}
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
rendering
22
renderTableContentOn: html
33
self title
4-
ifNotNil: [
5-
html mdlCardTitle
4+
ifNotNil: [ html mdlCardTitle
65
style: 'padding-left: 24px;';
76
with: [ html mdlCardTitleText: self title level: 2 ] ].
87
(selectable
98
ifTrue: [ html mdlTable selectable ]
109
ifFalse: [ html mdlTable ])
1110
style: 'width: 100%; border: none';
12-
with: [
13-
self renderHeaderOn: html.
14-
self renderRowsOn: html ].
15-
self renderFooterPaginationOn: html
11+
with: [ self renderHeaderOn: html.
12+
self renderRowsOn: html ].
13+
self shouldDisplayPagination
14+
ifTrue: [ self renderFooterPaginationOn: html ]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
testing
2+
shouldDisplayPagination
3+
^ self rowsPerPagePossibilities min < self rows size

0 commit comments

Comments
 (0)