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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MultiSelecting rows after grid refresh

Thread ID:





125551 Aug 24,2016 11:09 AM UTC Aug 25,2016 12:42 PM UTC ASP.NET Web Forms 1
Tags: Grid
Asked On August 24, 2016 11:09 AM UTC


i have an ASP grid and a custom refresh button.

<ej:Grid ID="MasterGrid" runat="server" AllowScrolling="true" AllowFiltering="true" AllowSorting="true" AllowTextWrap="true" >
        <DataManager URL="../Vehicles/GetMasterData" Adaptor="WebApiAdaptor" />
         <ScrollSettings Height="600" AllowVirtualScrolling="true" VirtualScrollMode="Continuous" EnableVirtualization="true" /> 
        <FilterSettings FilterType="Excel"></FilterSettings>

The button calls this JS function

          function refreshMasterGrid() {
              $("#MasterGrid").ejGrid({ dataSource: ej.DataManager({ url: "../Vehicles/GetMasterData", adaptor: new ej.WebApiAdaptor() }) });

The problem is that after refresh when i start clicking on the grid all the rows that i click become selected (like multiselect), even tho there is no multiselection enabled

If I scroll the grid after refresh (and before clicking on rows) then the rows are selected normally, one by one.

Also, if it helps, when i refresh, click on a grid row (without scrolling first) and then start to scroll i get this js error:
Uncaught TypeError: Cannot read property 'cells' of undefined
pointing to ej.grid.min.js

Thank you for the help.

Prasanna Kumar Viswanathan [Syncfusion]
Replied On August 25, 2016 12:42 PM UTC

Hi Semper, 

Thanks for contacting Syncfusion support. 

We created a sample according to your code example and we did not face the mentioned issues in our sample. 

Find the code example and sample: 

  <ej:Button ID="ButtonNormal" runat="server" Size="Mini" ClientSideOnClick="btnClick" ShowRoundedCorner="false" Text="Refresh"></ej:Button> 
     <ej:Grid ID="EmployeesGrid" runat="server" AllowSorting="true" AllowFiltering="true" AllowTextWrap="true" AllowScrolling="true"> 
          <DataManager URL="api/Values" Adaptor="WebApiAdaptor"></DataManager> 
          <ScrollSettings Height="600" AllowVirtualScrolling="true" VirtualScrollMode="Continuous" EnableVirtualization="true" />  
           <FilterSettings FilterType="Excel"></FilterSettings> 
       function btnClick() { 
           $("#EmployeesGrid").ejGrid({ dataSource: ej.DataManager({ url: "api/Values", adaptor: new ej.WebApiAdaptor() }) }); 

To reproduce the issue we need the following details, 

1. Video demo of an issue. 

2. Essential Studio Version details. 

3. Provide the stackrace of an script error. 

3. If possible, reproduce the issue in the attached sample. 

Prasanna Kumar N.S.V 


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