Hi,
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>
</ej:Grid>
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.