We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Load Grid (with remote data) with selected row (checkbox) and page

Thread ID:





148790 Nov 4,2019 06:55 PM UTC Nov 5,2019 12:58 PM UTC JavaScript - EJ 2 1
Tags: Grid
Asked On November 4, 2019 06:55 PM UTC

Hi, I have a grid using ej.data.UrlAdaptor as dataSource and my application saves the id of the selected row (single select). I want to load the grid selecting the row but not filtering the results, the grid has to select the page of the row id and the row. What is the best and easy way to do that?


Thavasianand Sankaranarayanan [Syncfusion]
Replied On November 5, 2019 12:58 PM UTC

Hi Lucas , 
Greetings from Syncfusion support. 
We suggest you to follow the below steps to resolve this issue. In your code, you already have the id  for the rows you have selected, by using that id’s you should find out the row indexes. By giving the row indexes into the selectRows method leads to the selection of particular rows. This will done while paging operation. The whole operation is proceed under DataBound event because this event will trigger for each paging of the grid. Documentation links are given below for your reference. 
Note: Once you have click for paging then dataBound event triggers and in that event you can select rows using SelectRows method.    
Documentation Links :  
Please get back to us if you need further assistance 
Thavasianand S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon