diff --git a/src/exampleWithCSV.ts b/src/exampleWithCSV.ts index 2335015..4126737 100644 --- a/src/exampleWithCSV.ts +++ b/src/exampleWithCSV.ts @@ -53,7 +53,7 @@ const initialise = async () => pagination.options={ displayElement: { id:"paginationOptions" }, values: [10,20,50,500] , name: "Choix de pagination :" }; pagination.selectedValue=10; converter.pagination=pagination; - pagination.rend2HTML(); + pagination.options2HTML(); // Affichage initial converter.datasCounter={ id:"compteur" }; diff --git a/src/exampleWithHTML.ts b/src/exampleWithHTML.ts index b8ba141..ebecd47 100644 --- a/src/exampleWithHTML.ts +++ b/src/exampleWithHTML.ts @@ -32,11 +32,11 @@ const initialise = async () => // Configuration de la pagination const pagination=new Pagination(converter, { id:"pages" }, "Page à afficher :"); - pagination.options={ displayElement: { id:"paginationOptions" }, values: [15,30,50,100] , name: "Nombre de lignes par page :" }; - pagination.selectedValue=15; + pagination.options={ displayElement: { id:"paginationOptions" }, values: [15,30,50] , name: "Nombre de lignes par page :" }; + pagination.selectedValue=30; converter.pagination=pagination; - pagination.rend2HTML(); - + pagination.options2HTML(); + // Affichage initial converter.datasCounter={ id:"compteur" }; await converter.run(); diff --git a/src/exampleWithJSON.ts b/src/exampleWithJSON.ts index e1a6d00..58484fa 100644 --- a/src/exampleWithJSON.ts +++ b/src/exampleWithJSON.ts @@ -36,7 +36,7 @@ const initialise = async () => pagination.options={ displayElement: { id:"paginationOptions" }, values: [15,30,50,100] , name: "Nombre de lignes par page :" }; pagination.selectedValue=15; converter.pagination=pagination; - pagination.rend2HTML(); + pagination.options2HTML(); // Affichage initial converter.datasCounter={ id:"compteur" };