I have solved the problem. I have another question.
When I click on the pagerDropDownList then this.myGrid comes undefined.
this.pagerDropDownList.addEventHandler('change', function (event) {
const args = event.args;
if (args) {
const item = args.item;
const label = item.label;
console.log('pagerDropDownList change', this.myGrid);
}
});