Hi Patterngen,
Thanks for contacting Syncfusion support.
Sorry for the inconvenience caused.
Query #1: I wonder how to replace the fixed value with the actual "totalPages" value.
In our help documentation we have directly assigned the total number page value in the pager template. But this value is not fixed value. This is total number of page count in the grid. So you can replace this value with your Grid total number of page count. According to your suggestion we have created the improvement task and we will refresh the help documentation as soon as possible. Until please refer the following sample demo for Grid pager template.
Please refer the following link to our sample demo:
In this sample we have show’s how to use pager template in ej1 Grid.
Query #2: (A general question is how to use expressions related to ej-Controls in a jsRender template)
We could not understood your query. So please explain this requirement deeply for further assistance.
Query #3: Important Question: How to do the same in Web JS2?
We have already discussed about this topic in ej2 help documentation. So please refer the following link to use ej2 grid pager template:
Regards,
Kuralarasan M.