Skip to content

Commit ac1d75e

Browse files
committed
Merge pull request #4928 from kr99/patch-1
Minor documentation improvements.
2 parents 591089a + a8478ce commit ac1d75e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/features/pagination/js/pagination.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,14 @@
170170
* @ngdoc property
171171
* @name enablePagination
172172
* @propertyOf ui.grid.pagination.api:GridOptions
173-
* @description Enables pagination, defaults to true
173+
* @description Enables pagination. Defaults to true.
174174
*/
175175
gridOptions.enablePagination = gridOptions.enablePagination !== false;
176176
/**
177177
* @ngdoc property
178178
* @name enablePaginationControls
179179
* @propertyOf ui.grid.pagination.api:GridOptions
180-
* @description Enables the paginator at the bottom of the grid. Turn this off, if you want to implement your
180+
* @description Enables the paginator at the bottom of the grid. Turn this off if you want to implement your
181181
* own controls outside the grid.
182182
*/
183183
gridOptions.enablePaginationControls = gridOptions.enablePaginationControls !== false;
@@ -186,14 +186,14 @@
186186
* @name useExternalPagination
187187
* @propertyOf ui.grid.pagination.api:GridOptions
188188
* @description Disables client side pagination. When true, handle the paginationChanged event and set data
189-
* and totalItems, defaults to `false`
189+
* and totalItems. Defaults to `false`
190190
*/
191191
gridOptions.useExternalPagination = gridOptions.useExternalPagination === true;
192192
/**
193193
* @ngdoc property
194194
* @name totalItems
195195
* @propertyOf ui.grid.pagination.api:GridOptions
196-
* @description Total number of items, set automatically when client side pagination, needs set by user
196+
* @description Total number of items, set automatically when using client side pagination, but needs set by user
197197
* for server side pagination
198198
*/
199199
if (gridUtil.isNullOrUndefined(gridOptions.totalItems)) {

0 commit comments

Comments
 (0)