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.
Unfortunately, activation email could not send to your email. Please try again.

problem with rowSelected event

Thread ID:

Created:

Updated:

Platform:

Replies:

117814 Dec 19,2014 10:12 AM Dec 22,2014 02:09 AM JavaScript 1
loading
Tags: ejGrid
Stefano Enrico
Asked On December 19, 2014 10:12 AM


When I select a row after the first loading, arg.data of rowSelected event contains the correct data.
But after scrolling, when I select another row, arg.data = undefined

var dataManager = ej.DataManager({
url: window.location.rel='nofollow' href + '/_GRID',
offline: loadAll,
adaptor: 'UrlAdaptor'
});

[...]

$grid.ejGrid({
dataSource: dataManager,
actionBegin: function (args) {
$.each(Object.keys(params), function () {
args.model.query.addParams(this.toString(), params[this]);
});
},
offline: false,
columns: columns,
allowReordering: true,
showColumnChooser: true,
allowResizing: true,
allowResizeToFit: true,
allowScrolling: true,
scrollSettings: { allowVirtualScrolling: true, height: height, width: 0 },
allowFiltering: true,
filterSettings: { filterType: 'menu' },
allowSearching: true,
allowSorting: true,
allowMultiSorting: true,
allowSelection: true,
selectionType: 'single',
selectedRowIndex: 1,
rowSelected: function (args) {
                        console.log(args.data);
                    }
});



Ajith R [Syncfusion]
Replied On December 22, 2014 02:09 AM

Hi Stefano,

 

Thanks for using Syncfusion products.

 

Query: problem with rowSelected event

 

We are able to reproduce your reported issue. We considered this “args.data is undefined in virtual scrolling with rowSelected event” as an issue and a support incident has been created under your account to track the status of this issue. Please log on to our support website to check for further updates.

 

Support Link: https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

 

Please let us know if you have any concerns.

 

Regards,

Ajith R


CONFIRMATION

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.

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.

;