- Home
- Forum
- Angular - EJ 2
- Not able to fetch the page number and size of the grid for the server side pagination in Angular
Not able to fetch the page number and size of the grid for the server side pagination in Angular
Hi Syncfusion Team,
I am currently working on ejsGrid in my Angular 6 project having Node as server
and MySQL as database.
I wish to achieve server side pagination in my EJS Grid. I have the request
structuire ready as:
https://localhost:3000/v1/App/Report/status/null/page/{{currentPageValue}}/limit/{{PagerLimit}}/
Now, I need to pass the value dynamically from the Grid i.e. when I select the "Page" as 3 and "Pagelimit" as 30 in my Grid, I should be able to fetch the values of 3 and 20 from the grid and pass it to my request structure.
For every change, I need to pass the values of Clicked Page Number and the corresponding dropdown at that time.
Please, suggest me a way to fetch the values of the clicked page and
corresponding drop down value at the time of click
and which I can pass to my request structure.
For Example, When I click on 4 and the page size is selected
as 30, so I wish to fetch the value of Page No of current pager and the Page
size selected at the click of every page no.
I have tried multiple classes {PageSettingsModel,
QueryCellInfoEventArgs, PagerModel, PageEventArgs} to achieve this but was not
able to bind the data back to fetch the values.
Please help me achieve the above functionality in Angular 6. Using EJS Grid
Attachment: Page
Attachment: pages_d37107e3.zip
- Share the screen shot or video demonstration of the issue.
- Share the adaptor details which you have applied in your sample.
- Share the complete Grid rendering code example.
- Share the Essential Studio version details.
- 3 Replies
- 3 Participants
-
MK Mayank K
- Jul 22, 2019 12:53 PM UTC
- Oct 7, 2019 10:28 AM UTC