Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3760
Scrolling event on RowSelectionChange
posted

Hello,

How can I prevent this scrolling to take place in the webhierarchical datagrid, or how can I "scroll to" the newly selected row in the grid

to ensure that it is always in focus.

I know it is possible on the server-side, but I need to control this on the client-side.

I have tried the solution below (as susggested on codecorner.galanter.net)

function whdgGrid_RowSelectionChanging(sender, eventArgs) {

    event.cancelBubble = true

}

but it does not cancel the event.

I also need to ensure that the solution is fully cross-browser compliant.

Regards.

My environment is as follows:

VS2010

IE9

Widows 7 32 bit.

Infragistics ASP.Net Version 11.2.20112.2125

.Net 4

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">