0
jliu created
Dear Sir/Madam,
I am a developer, developing a web application with Angular using ABP FrameWork.
I created a grid using tag <ngx-datatable>. As default, it shows 10 items per page. I am asked to change to other number. How can I do it please.
Thanks and regards,
John
2 Answer(s)
-
0
Hi @jliu
You can change the
ListService
defaults like this:constructor( private bookService: BookService, ) { // change ListService defaults here this.list.maxResultCount = 20; }
You can achive this by changing the
maxResultCount
variable of theListService
. See the Working with Lists document for more information.If you are not using the
ListService
, you can see thengx-datatable
paging examples. -
0
This question has been automatically marked as stale because it has not had recent activity.