0
yfc created
My current project is core angular version 3.0.5. The number of display entries on the NGX datatable page cannot be configured. I need the table to display 30 items, but the display effect is still 10. The background interface requests return the normal number of entries, but the skipcount value is still 10, and the maxresultcount value is normal 30
2 Answer(s)
-
1
Hi,
Please remove the
limit
binding on the datatable and try setting themaxResultCount
property of theListService
instead:constructor( public readonly list: ListService, ) { this.list.maxResultCount = 30; }
Please let me know if this resolves the issue.
I wish you a very nice day.
-
0
Thank you very much. Your method has solved my problem.
I wish you a very nice day.