update row count async

Hello,

Using the datagrid with the datamanager, how can I update the row count, after a first page of data has been loaded?
Currently, I load the first page in a virtualized scrolling datagrid. Then via async request, I get the totalcount of the dataset. Then I would like to update the rowcount so, the new count is reflected in the scrollbar size of the grid.

I cannot find any method or property to update rowcount in the documentation.

Kind regards,

Jasper


3 Replies 1 reply marked as answer

JC Joseph Christ Nithin Issack Syncfusion Team September 10, 2024 07:19 PM UTC

Hi Jasper,


      Based on the information you provided, it seems that you want to dynamically update the total row count value in the EJ2 Grid. However, in Syncfusion EJ2 Grid, the virtual scroll height of the Grid is generated based on the total records count value, which is the default architecture of the Grid. Therefore, dynamically updating the total row count value is not a valid scenario for the virtual scroll.


Please feel free to contact us if you require any further assistance. We are always available and eager to help you in any way we can.


Regards,

Joseph I.


Marked as answer

JV Jasper Vermeulen September 11, 2024 09:04 AM UTC

 Hello,


Ok, thank you for your response.


Kind regards,


Jasper



AR Aishwarya Rameshbabu Syncfusion Team September 12, 2024 08:37 AM UTC

Hi Jasper ,


You’re most welcome. Please get back to us if you need any other assistance.


Regards

Aishwarya R


Loader.
Up arrow icon